From 81a43f31c05b7dd13a8dea72a47e911f69689a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 16 Oct 2023 17:03:21 +0200 Subject: [PATCH] Expand with nixpkgs, nixos-modules used --- README.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7a910aba..0603f676 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ lang: en ## Setup -## Enable nix flakes user wide +### Enable nix flakes user wide Add the setting to the user nix.conf. Only do this once! @@ -17,7 +17,7 @@ Add the setting to the user nix.conf. Only do this once! echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf ``` -## Enable nix flakes system wide (preferred for NixOS) +### Enable nix flakes system wide (preferred for NixOS) add this to your NixOS configuration: @@ -25,9 +25,24 @@ add this to your NixOS configuration: nix.settings.experimental-features = [ "nix-command" "flakes" ]; ``` -### The secrets repo +### nixpkgs/nixos -is deprecated. Everything should be done through sops. +The nixpkgs/nixos input used lives at . +We are using a fork managed by sandro to make backports, cherry-picks and custom fixes dead easy. +If you want to have an additional backport, cherry-pick or other change, please contact sandro. + +### nixos-modules repo + +The nixos-modules repo lives at and is mirrored to . +It contains options sandro shares between his private nixos configs and the C3D2 one. +It sets many options by default and when searching for a particular setting you should always grep this repo, too. +In question ask sandro and consider improving the documentation about this with comments and readme explanations. +Something should be changed/added/removed/etc? Please create a PR or start a conversations with your ideas. + +### secrets repo + +The secrets repo is absolutely deprecated! +Everything new must be done through sops and everything old should be migrated. If you don't have secrets access ask sandro or astro to get onboarded. ### SSH access @@ -246,7 +261,7 @@ For end user modules take a look at the [c3d2-user-module](https://gitea.c3d2.de For the deployment options take a look at [deployment](https://gitea.c3d2.de/c3d2/deployment). -## Filesystem setup +## File system setup Set the `disko` options for the machine and run: