Add instructions how to build a system config

This commit is contained in:
Jakob Lechner 2024-12-28 13:43:47 +01:00
parent 208d7d8b7d
commit 374daf8d74

View file

@ -16,6 +16,12 @@ nix run github:nix-community/nixos-anywhere -- --flake .#<somehost> root@<someho
nix-shell -p nixUnstable --run 'nixos-install --flake https://gitlab.jalr.de/jalr/nixos-configuration#somehost --no-channel-copy'
```
### Build a configuration
```
nix build .#nixosConfigurations.iron.config.system.build.toplevel
```
### setting up sops
Get the host key and convert it.
```bash