NixOS-Config/.sops.yaml

13 lines
550 B
YAML
Raw Permalink Normal View History

# This example uses YAML anchors which allows reuse of multiple keys
# without having to repeat yourself.
2024-01-23 13:39:13 +01:00
# Also see https://github.com/Mic92/dotfiles/blob/main/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
2024-01-23 13:44:18 +01:00
# Run the following command to create EDI-Lillian.yaml in the secrets folder:
2023-11-04 10:30:17 +01:00
# nix-shell -p sops --run "sops secrets/EDI-Lillian.yaml"