Add no-channel-copy option to install command

This commit is contained in:
Andreas Zweili 2024-03-04 18:22:15 +01:00
parent a8b5ea3394
commit 63cdd3a61d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ In addition some of the scripts required for installation will destroy your data
1. For Raspis it's the easiest if you prepare the SD card/disk on another system. For a PC you can just boot the installation ISO directly.
2. For both devices you can format the disk/card with the following script `sudo ./scripts/format-disk.sh`. Make sure to edit it beforehand, to point it to the correct disk.
3. Next install the system with `sudo nixos-install --no-root-passwd --root /mnt/nixos --impure --flake .#SYSTEMNAME`
3. Next install the system with `sudo nixos-install --no-root-passwd --root /mnt/nixos --impure --flake .#SYSTEMNAME --no-channel-copy`
4. Rename the partitions with the script `sudo ./scripts/rename-partitions.sh`. With this script as well. Check that you're pointing to the correct disk.
When everything is finished you can reboot the system and remove the USB stick. You have now a fully encrypted NixOS system.