One man's attempt to set up his new devices for NixOS.
- Unencrypted /boot
- Btrfs on LUKS for the rest
- /home is a subvolume
- /swap is a subvolume
- TODO: /swap/swapfile exists, but isn't automatically recognized by nixos-generate-config.
- User is prompted for installation disk
- Disk is first randomized
- Partitions created
- Main partition encrypted
- Subvolumes created
- Swap created
nixos-generate-config
is run
(Feel free to suggest improvements here).
- Get your SSH keys from somewhere (or generate new ones)
- Get your standard NixOS configuration from somewhere
nixos-install