From 30a932907c6c4e03360680e4ead630e3da677240 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Thu, 9 Mar 2023 23:55:31 -0500 Subject: [PATCH] fixed sops-nix issue? --- modules/sops.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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"; }; }