- Systemd boot because it won't work otherwise.
- Tolerance of my bad docs.
When installing the OS make sure to provision the disk manually, this is because the standard NixOS install puts the boot partition in the root and systemd boot needs an isolated boot partition. You want at least one gigabyte FAT32 boot partition, this is because NixOS installs generations here. 1GB can hold 5 to 10 generations, I tend to go with 2GB.
Partition should have the boot flag and FAT32 at a minimum, but give it a label.
Make sure you actually install the bootloader in the right partition.
- Name the user
aeon
. mkdir -p ~/.config
sudo nano /etc/nixos/configuration.nix
, add git toenvironment.systemPackages
, and enable ssh.sudo nixos-rebuild switch
cd ~/.config
->git clone https://github.com/aeonremnant/nix
sudo nixos-rebuild switch --flake ~/.config/nix#forge
- Wait for packages to work.