.sops-yaml: update acceptable filenames for secrets

This commit is contained in:
Gabriel Arazas 2025-04-29 15:39:07 +08:00
parent 586fb47bc6
commit 9f4abd3c50
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -6,9 +6,9 @@ keys:
- &ni age1jxna9vm7nx4g69s84qgjptxvuzszcypf2rfk4ss2lyhnpe3yxdnqusu6jp - &ni age1jxna9vm7nx4g69s84qgjptxvuzszcypf2rfk4ss2lyhnpe3yxdnqusu6jp
- &plover age1yftkhugwrdnlpl45lthrhvvk720zza2nd085sxvjcxg2guavz3kquktplx - &plover age1yftkhugwrdnlpl45lthrhvvk720zza2nd085sxvjcxg2guavz3kquktplx
creation_rules: creation_rules:
- path_regex: configs/nixos/ni/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env|bin)$ - path_regex: configs/nixos/ni/(modules/.+/(.+\.)?secrets|secrets/[^/]+)\.(yaml|json|ini|env|bin)$
age: *ni age: *ni
- path_regex: configs/nixos/plover/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env|bin)$ - path_regex: configs/nixos/plover/(modules/.+/(.+\.)?secrets|secrets/[^/]+)\.(yaml|json|ini|env|bin)$
age: *plover age: *plover
- path_regex: configs/home-manager/foo-dogsquared/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env|bin)$ - path_regex: configs/home-manager/foo-dogsquared/(modules/.+/(.+\.)?secrets|secrets/[^/]+)\.(yaml|json|ini|env|bin)$
age: *foo-dogsquared-age age: *foo-dogsquared-age