Expand with nixpkgs, nixos-modules used
This commit is contained in:
parent
a261fbe165
commit
81a43f31c0
25
README.md
25
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 <https://github.com/supersandro2000/nixpkgs/tree/nixos-23.05>.
|
||||
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 <https://github.com/supersandro2000/nixos-modules> and is mirrored to <https://gitea.c3d2.de/c3d2/nixos-modules>.
|
||||
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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue