fixed sops-nix issue?

This commit is contained in:
Gerg-L 2023-03-09 23:55:31 -05:00
parent 53b75659fd
commit 30a932907c

View file

@ -1,9 +1,7 @@
{sops-nix, ...}: {
pkgs,
settings,
self,
config,
lib,
...
}: {
imports = [
@ -14,10 +12,6 @@
];
sops = {
defaultSopsFile = "${self}/systems/${config.networking.hostName}/secrets.yaml";
age = {
sshKeyPaths = lib.mkForce ["/home/${settings.username}/.ssh/id_ed25519"];
keyFile = "/etc/sops/age/keys.txt";
generateKey = true;
};
age.keyFile = "/persist/sops/age/keys.txt";
};
}