Add Lix-based NixOS installer ISO and interactive script

This commit is contained in:
randogoth 2026-02-01 19:43:03 +02:00
commit 97c865d91b
7 changed files with 720 additions and 0 deletions

17
docs/install-help.txt Normal file
View file

@ -0,0 +1,17 @@
NixOS installer (flake + Lix)
=============================
1) Build is prewired with Lix; the installer ISO includes the repo.
2) Run the guided Btrfs installer:
sudo ./scripts/install-btrfs.sh
- Interactive by default (choose disk, LUKS, swap).
- Non-interactive example:
sudo NON_INTERACTIVE=1 USE_LUKS=1 LUKS_PASSPHRASE='secret' SWAP_GB=4 DISK=/dev/sda HOSTNAME=myhost ./scripts/install-btrfs.sh
3) After install finishes, reboot into the new system.
Notes
- Filesystem is always Btrfs with subvolumes: root, home, nix (and swapfile if enabled).
- The flake lives under /etc/nixos on the target; edit hosts/<hostname>.nix to customize.