sops key are now set per-machine
sops fixes on path_regexes and keys update key re-encryption
This commit is contained in:
parent
beecd093e5
commit
8e7faaab5a
7 changed files with 135 additions and 91 deletions
|
|
@ -3,14 +3,5 @@
|
|||
"${(import /etc/nixos/npins/default.nix).sops-nix}/modules/sops"
|
||||
];
|
||||
|
||||
sops.age.keyFile = "/home/zo/.config/sops/age/keys.txt";
|
||||
sops.validateSopsFiles = false;
|
||||
sops.defaultSopsFile = "/etc/nixos/ssl/keys/default.yaml";
|
||||
sops.secrets.cert_main_key = {
|
||||
sopsFile = "/etc/nixos/ssl/keys/main.yaml";
|
||||
mode = "0060";
|
||||
owner = "nobody";
|
||||
group = "nogroup";
|
||||
path = "/etc/ssl/keys/main.pem";
|
||||
};
|
||||
sops.validateSopsFiles = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue