update sops secret paths
This commit is contained in:
parent
8d1bcedeab
commit
cf7a9b09de
2 changed files with 4 additions and 14 deletions
16
.sops.yaml
16
.sops.yaml
|
@ -7,27 +7,17 @@ keys:
|
|||
- &rackserv age1zutg3s4nth679a6av9xqw4km0ezmfkxlnusu78demf0rzazqn3pqk9exgj
|
||||
|
||||
creation_rules:
|
||||
- path_regex: home/profiles/secrets
|
||||
key_groups:
|
||||
- age:
|
||||
- *xun
|
||||
- path_regex: sys/profiles/secrets/global
|
||||
- path_regex: secrets/nixdesk
|
||||
key_groups:
|
||||
- age:
|
||||
- *xun
|
||||
- *nixdesk
|
||||
- *hopper
|
||||
- path_regex: sys/profiles/secrets/nixdesk
|
||||
key_groups:
|
||||
- age:
|
||||
- *xun
|
||||
- *nixdesk
|
||||
- path_regex: sys/profiles/secrets/hopper
|
||||
- path_regex: secrets/hopper
|
||||
key_groups:
|
||||
- age:
|
||||
- *xun
|
||||
- *hopper
|
||||
- path_regex: sys/profiles/secrets/rackserv
|
||||
- path_regex: secrets/rackserv
|
||||
key_groups:
|
||||
- age:
|
||||
- *xun
|
||||
|
|
2
Justfile
2
Justfile
|
@ -8,7 +8,7 @@ local OPERATION *FLAGS:
|
|||
{{OPERATION}}
|
||||
|
||||
updatekeys:
|
||||
fd . sys/profiles/secrets -E '*.nix' -t f -x sops updatekeys -y
|
||||
fd . secrets -E '*.nix' -t f -x sops updatekeys -y
|
||||
|
||||
remote OPERATION HOST REMOTEHOST *FLAGS:
|
||||
nixos-rebuild \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue