Corrected command for re-building NixOS
This commit is contained in:
parent
c85f1d7a56
commit
576e5ab958
1 changed files with 1 additions and 1 deletions
|
|
@ -24,5 +24,5 @@ git clone https://git.plueschbit.de/jan/nixos-conf ~/nixos
|
|||
b) `cp /etc/nixos/*.nix $HOSTNAME/.`
|
||||
c) Edit `~/nixos/flake.nix` and add section for new host
|
||||
d) Stage new config files: `git add flake.nix hosts/$HOSTNAME/*`. Otherwise, nixos-rebuild will refuse to work with the files.
|
||||
7. Apply config: `sudo nixos-rebuild ~/nixos/$HOSTNAME`
|
||||
8. Apply config: `sudo nixos-rebuild switch --flake ~/nixos/#<host>`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue