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
288 B
288 B