This is my personal nix configuration.
- Boot from the latest unstable ISO
- Format the disks (see hosts/sandhose-desktop)
- Mount the disks under
/mnt
- Run as root a new nix shell with
nixUnstable
andcachix
:nix-shell -p nixUnstable -p cachix
- Enable the cachix cache:
cachix use sandhose -m user-nixconf
- Enable unstable features:
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- Install the system (
--impure
seems necessary):nixos-install --flake 'github:sandhose/nixconf#sandhose-desktop' --root /mnt --impure
cachix use <cache> -m nixos -d ./profiles/base/