updated sops keys from user keys to host keys

This commit is contained in:
Gerg-L 2023-03-11 15:06:20 -05:00
parent 5464c0087f
commit 2651f44be8
5 changed files with 46 additions and 45 deletions

View file

@ -2,6 +2,7 @@
pkgs,
self,
config,
lib,
...
}: {
imports = [
@ -12,6 +13,6 @@
];
sops = {
defaultSopsFile = "${self}/systems/${config.networking.hostName}/secrets.yaml";
age.keyFile = "/persist/sops/age/keys.txt";
age.sshKeyPaths = lib.mkForce ["/etc/ssh/ssh_host_ed25519_key"];
};
}