hefe
Buildhosts
hydra builds the packages, templates and hosts continously.
- x86_64-linux: corrino (Hetzner AX41)
- x86_64-darwin: kaitain (Mac Mini)
- aarch64-linux: pi4
- aarch64-darwin: caladan (m1 macbook air)
Secrets
- Managed using agenix
- Don't forget to add secrets to git!
Create secrets:
./secret_create.sh [host] [name of secret ending in .age]
Edit secrets:
; EDITOR=hx nix run git+https://github.com/ryantm/agenix -- -e <secret>
Print the generated secrets file as follows:
; nix eval -I nixpkgs=flake:nixpkgs --file secrets.nix
Deploy
; BUILDHOST=corrino HOSTNAME=corrino make deploy
; BUILDHOST=corrino HOSTNAME=lampadas make deploy
; BUILDHOST=corrino HOSTNAME=lankiveil make deploy
; make switch-caladan
Troubleshooting
Weird lock
issues? Try sudo pkill -9 nix-daemon
on the build machine