From 4fd2ec43662ffa51759960b34185c6ca38be0b8b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jan 2021 22:27:57 +0100 Subject: Explicitly disable sops.sshKeyPaths --- system-profiles/core.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'system-profiles') diff --git a/system-profiles/core.nix b/system-profiles/core.nix index 0ff3a9f4..49869e60 100644 --- a/system-profiles/core.nix +++ b/system-profiles/core.nix @@ -70,7 +70,10 @@ in { useUserPackages = true; }; - sops.gnupgHome = lib.mkIf hasSops "/root/.gnupg"; + sops = lib.mkIf hasSops { + gnupgHome = "/root/.gnupg"; + sshKeyPaths = []; + }; environment.systemPackages = [ pkgs.git ] ++ lib.optional hasSops pkgs.gnupg; }; -- cgit v1.2.3