Figured out sops

This commit is contained in:
Lillian Violet 2023-11-04 10:30:17 +01:00
parent a992ce6931
commit a1a02a638a
2 changed files with 26 additions and 3 deletions

View file

@ -3,9 +3,11 @@
# Also see https://github.com/Mic92/dotfiles/blob/master/nixos/.sops.yaml
# for a more complex example.
keys:
- &lillian age12e00qvf4shtmsfq3ujamyaa72pjvad2qhrxkvpl9hryrjvgxev4sjhmkxz
- &admin_lillian age12e00qvf4shtmsfq3ujamyaa72pjvad2qhrxkvpl9hryrjvgxev4sjhmkxz
creation_rules:
- path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
key_groups:
age:
- *lillian
- age:
- *admin_lillian
#Run the following command to create EDI-Lillian.yaml in the secrets folder:
# nix-shell -p sops --run "sops secrets/EDI-Lillian.yaml"