2026-02-01 19:43:03 +02:00
NixOS installer (flake + Lix)
=============================
2026-02-01 20:43:53 +02:00
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):
2026-02-01 19:43:03 +02:00
2026-02-01 20:43:53 +02:00
sudo DISK=/dev/vda HOSTNAME=nixos /etc/nixos/scripts/install-btrfs.sh
2026-02-01 19:43:03 +02:00
2026-02-01 20:43:53 +02:00
Defaults: DISK=/dev/vda, HOSTNAME=nixos
The script wipes the disk, creates Btrfs subvolumes (root, home, nix), copies the flake, generates hardware config, and installs with the chosen host name.
2026-02-01 19:43:03 +02:00
3) After install finishes, reboot into the new system.
Notes
2026-02-01 20:43:53 +02:00
- Filesystem is Btrfs with subvolumes: root, home, nix.
2026-02-01 19:43:03 +02:00
- The flake lives under /etc/nixos on the target; edit hosts/<hostname>.nix to customize.