sops key are now set per-machine

sops fixes on path_regexes and keys update
key re-encryption
This commit is contained in:
boyreau 2026-09-26 08:55:19 +02:00
commit 8e7faaab5a
7 changed files with 135 additions and 91 deletions

View file

@ -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;
}