feat: sops-nix secrets management

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-06-28 06:48:37 +02:00
commit ab550cd0a7
4 changed files with 85 additions and 0 deletions

13
.sops.yaml.example Normal file
View file

@ -0,0 +1,13 @@
keys:
# Your age PUBLIC key. Generate a keypair with:
# age-keygen -o ~/.config/sops/age/keys.txt
# then paste the "Public key:" line below (starts with "age1...").
# Copy this file to .sops.yaml and fill it in.
# pragma: allowlist secret
- &admin age1REPLACE_WITH_YOUR_AGE_PUBLIC_KEY
creation_rules:
- path_regex: secrets/.*\.yaml$
key_groups:
- age:
- *admin