.sops.yaml: update secrets location

This commit is contained in:
Gabriel Arazas 2024-02-24 21:41:20 +08:00
parent 9a7314f28c
commit e6b9d9e463
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -5,11 +5,11 @@ keys:
- &ni age1dm9xugju4q5gx0zty8ckw655ea904c64gv9qw9fn3lu507ck8uzsag59y8 - &ni age1dm9xugju4q5gx0zty8ckw655ea904c64gv9qw9fn3lu507ck8uzsag59y8
- &plover age1sj497yr895335rk77qqnrqyx9f7462ma3lz0a0x3w5cnla5uqgpspgggtz - &plover age1sj497yr895335rk77qqnrqyx9f7462ma3lz0a0x3w5cnla5uqgpspgggtz
creation_rules: creation_rules:
- path_regex: hosts/ni/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$ - path_regex: configs/nixos/ni/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$
age: *ni age: *ni
- path_regex: hosts/plover/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$ - path_regex: configs/nixos/plover/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$
age: *plover age: *plover
- path_regex: users/home-manager/foo-dogsquared/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|inienv)$ - path_regex: configs/home-manager/foo-dogsquared/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|inienv)$
key_groups: key_groups:
- age: - age:
- *foo-dogsquared-age - *foo-dogsquared-age