summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-02 22:27:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 20:18:01 +0100
commit4fd2ec43662ffa51759960b34185c6ca38be0b8b (patch)
treebeb002be3c15f2ad822602fceba4bfde22fcc2a2
parenta3eccb33fc973012255af4590af008ce68fa12f1 (diff)
downloadnixos-4fd2ec43662ffa51759960b34185c6ca38be0b8b.tar
nixos-4fd2ec43662ffa51759960b34185c6ca38be0b8b.tar.gz
nixos-4fd2ec43662ffa51759960b34185c6ca38be0b8b.tar.bz2
nixos-4fd2ec43662ffa51759960b34185c6ca38be0b8b.tar.xz
nixos-4fd2ec43662ffa51759960b34185c6ca38be0b8b.zip
Explicitly disable sops.sshKeyPaths
-rw-r--r--system-profiles/core.nix5
1 files changed, 4 insertions, 1 deletions
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 {
70 useUserPackages = true; 70 useUserPackages = true;
71 }; 71 };
72 72
73 sops.gnupgHome = lib.mkIf hasSops "/root/.gnupg"; 73 sops = lib.mkIf hasSops {
74 gnupgHome = "/root/.gnupg";
75 sshKeyPaths = [];
76 };
74 77
75 environment.systemPackages = [ pkgs.git ] ++ lib.optional hasSops pkgs.gnupg; 78 environment.systemPackages = [ pkgs.git ] ++ lib.optional hasSops pkgs.gnupg;
76 }; 79 };