Default install host to installer
This commit is contained in:
parent
9dbb211285
commit
9e6d7a5a88
2 changed files with 4 additions and 4 deletions
|
|
@ -4,9 +4,9 @@ NixOS installer (flake + Lix)
|
|||
1) Build is prewired with Lix; the installer ISO includes the repo at /etc/nixos.
|
||||
2) Run the non-interactive Btrfs installer (set envs as needed):
|
||||
|
||||
sudo DISK=/dev/vda HOSTNAME=nixos /etc/nixos/scripts/install-btrfs.sh
|
||||
sudo DISK=/dev/vda HOSTNAME=installer /etc/nixos/scripts/install-btrfs.sh
|
||||
|
||||
Defaults: DISK=/dev/vda, HOSTNAME=nixos
|
||||
Defaults: DISK=/dev/vda, HOSTNAME=installer
|
||||
The script wipes the disk, creates Btrfs subvolumes (root, home, nix), copies the flake, generates hardware config, and installs with the chosen host name.
|
||||
|
||||
3) After install finishes, reboot into the new system.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue