- Get machine all partitioned up ready to go with a nixos livecd
- Create /etc/nixos/configuration.nix with contents where machineName is the name of the machine (errorbook is the only one this repo knows about)
let thunk = builtins.fromJSON (builtins.readFile /etc/nixos/thunk.json);
in (import (builtins.fetchGit {
inherit (thunk) url rev;
})) "{{machineName}}"
- Run the contents of (update.sh)[./update.sh] to create a current thunk.json
- Proceed with nixos installation, or do a
nixos-rebuild switch
if the machine is already installed