IT in a box!
-
Install NixOS
-
Clone this repo:
nix-shell -p git --command 'git clone https://patagia.dev/dln/nixos-config.git'
-
Ensure host configuration exists at
./nixos-config/hosts/${HOSTNAME}
and contains at minimum the hardware configuration. The NixOS installer will write this out to/etc/nixos/hardware-configuration.nix
. -
Apply configuration:
sudo nixos-rebuild boot --flake ./nixos-config#${HOSTNAME}
- Clone this repo somewhere convenient, like
~/src/shelman/nixos-config
- Apply configuration:
just switch
Update nixpkgs and switch: just update
just home-switch