Files
JakeHillion b608531ee4
commit-validation / validate-single-commit (pull_request) Successful in 3s
flake / flake (push) Successful in 6m22s
restic: migrate 4 secrets to agenix-rekey
Restic secrets (mig29, b52, aws-eu-central-2, aws-us-east-1) were
encrypted per-host via plain agenix, requiring re-encryption to every
host key whenever the passwords rotate.

Added agenix-rekey as a flake input with a central master key. Changed
all restic secret references from `file =` to `rekeyFile =` across 17
modules, created modules/rekey.nix for the rekey configuration, and
replaced the agenix CLI with agenix-rekey in the devShell and default
system packages. Added .envrc for direnv and .direnv/ to .gitignore.

Secrets are now encrypted once to the master key and rekeyed per-host
automatically, so rotating a password only requires one re-encryption
plus `agenix rekey -a`.

Test plan:
- CI
- Ran `agenix rekey -a` successfully
2026-04-03 18:36:58 +01:00

288 B