diff --git a/modules/sops.nix b/modules/sops.nix index 9010195..e401d54 100644 --- a/modules/sops.nix +++ b/modules/sops.nix @@ -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"; }; }