about summary refs log tree commit diff stats
path: root/nix-conf/.sops.yaml
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-08-29 19:12:32 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-08-29 19:12:32 +0100
commit921200a6490cc87af4e5e1ad955ef3cce75fa3d3 (patch)
tree31070c386c8ec8b7f360eea22eb5d9cb066a1aed /nix-conf/.sops.yaml
parent88cbe57395dbd30948231d39af7ef7cc450ca28d (diff)
downloaddotfiles-921200a6490cc87af4e5e1ad955ef3cce75fa3d3.tar.gz
Use sops-nix for private-ish data
Diffstat (limited to 'nix-conf/.sops.yaml')
-rw-r--r--nix-conf/.sops.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix-conf/.sops.yaml b/nix-conf/.sops.yaml
new file mode 100644
index 0000000..58f5e63
--- /dev/null
+++ b/nix-conf/.sops.yaml
@@ -0,0 +1,7 @@
+keys:
+  - &admin_djm age1w7kjp0qdgfyg9cyj5w4qc4fc9qz3w65xw2veazesfgdenqrd3ucqsc5ejv
+creation_rules:
+  - path_regex: secrets/[^/]+\.(json|yaml)$
+    key_groups:
+    - age:
+      - *admin_djm