Add Lix-based NixOS installer ISO and interactive script
This commit is contained in:
commit
97c865d91b
7 changed files with 720 additions and 0 deletions
17
docs/install-help.txt
Normal file
17
docs/install-help.txt
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue