16 lines
702 B
Text
16 lines
702 B
Text
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=installer /etc/nixos/scripts/install-btrfs.sh
|
|
|
|
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.
|
|
|
|
Notes
|
|
- Filesystem is Btrfs with subvolumes: root, home, nix.
|
|
- The flake lives under /etc/nixos on the target; edit hosts/<hostname>.nix to customize.
|