NixOS-Config/.sops.yaml

13 lines
551 B
YAML
Raw Normal View History

# This example uses YAML anchors which allows reuse of multiple keys
# without having to repeat yourself.
# Also see https://github.com/Mic92/dotfiles/blob/master/nixos/.sops.yaml
# for a more complex example.
keys:
2023-11-04 10:30:17 +01:00
- &admin_lillian age12e00qvf4shtmsfq3ujamyaa72pjvad2qhrxkvpl9hryrjvgxev4sjhmkxz
creation_rules:
- path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
key_groups:
2023-11-04 10:30:17 +01:00
- 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"