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
|
- &rackserv age1zutg3s4nth679a6av9xqw4km0ezmfkxlnusu78demf0rzazqn3pqk9exgj
|
||||||
|
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: home/profiles/secrets
|
- path_regex: secrets/nixdesk
|
||||||
key_groups:
|
|
||||||
- age:
|
|
||||||
- *xun
|
|
||||||
- path_regex: sys/profiles/secrets/global
|
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
- *nixdesk
|
- *nixdesk
|
||||||
- *hopper
|
- path_regex: secrets/hopper
|
||||||
- path_regex: sys/profiles/secrets/nixdesk
|
|
||||||
key_groups:
|
|
||||||
- age:
|
|
||||||
- *xun
|
|
||||||
- *nixdesk
|
|
||||||
- path_regex: sys/profiles/secrets/hopper
|
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
- *hopper
|
- *hopper
|
||||||
- path_regex: sys/profiles/secrets/rackserv
|
- path_regex: secrets/rackserv
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
|
|
2
Justfile
2
Justfile
|
@ -8,7 +8,7 @@ local OPERATION *FLAGS:
|
||||||
{{OPERATION}}
|
{{OPERATION}}
|
||||||
|
|
||||||
updatekeys:
|
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:
|
remote OPERATION HOST REMOTEHOST *FLAGS:
|
||||||
nixos-rebuild \
|
nixos-rebuild \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue