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