Create hashed password files with mkpasswd
:
mkpasswd -m sha-512 >secrets/users/<username>/hashed-password
- Install a basic system following the instructions in the manual.
- Clone this repository from GitHub over HTTPS.
- Copy secrets over sneakernet.
- Copy GnuPG configuration to get passwords from Gitolite.
- Generate a binary cache key:
nix-store --generate-binary-cache-key $hostname-1 private-key public-key
sudo mv private-key /etc/nix/
cat public-key # Add to programs/nix.nix
rm public-key