22 lines
No EOL
650 B
Text
22 lines
No EOL
650 B
Text
Nanuqsaurus NixOS installer
|
|
===========================
|
|
|
|
Run the non-interactive installer:
|
|
|
|
sudo /etc/nixos/scripts/install-btrfs.sh
|
|
|
|
|
|
Optionally set DISK and HOSTNAME
|
|
|
|
sudo DISK=/dev/vda HOSTNAME=nanuqsaurus /etc/nixos/scripts/install-btrfs.sh
|
|
|
|
|
|
The script wipes the whole disk, creates Btrfs subvolumes (root, home, nix), copies the flake, generates hardware config, and installs.
|
|
|
|
|
|
If you need a more custom setup please run the partitioning manually, mount the target to /mnt and then install the system:
|
|
|
|
nixos-install --root /mnt --flake "/mnt/etc/nixos#${HOSTNAME}" --no-root-passwd
|
|
|
|
|
|
After install finishes, reboot into the new system. |