From 3c21629f685f8085d5756e5d34438fbb73c85abd Mon Sep 17 00:00:00 2001 From: Spotlight Date: Tue, 4 Jul 2023 03:46:12 -0500 Subject: [PATCH] Don't supply signing in only-dotfiles environments --- home/home.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/home.nix b/home/home.nix index 78c7d35..777cc7d 100644 --- a/home/home.nix +++ b/home/home.nix @@ -25,7 +25,7 @@ in { userEmail = "spotlight@joscomputing.space"; # Only specify signing if GPG is otherwise being pulled in; # i.e. not in a dotfiles only configuration. - signing = lib.mkIf dotfilesOnly { + signing = lib.mkIf (!dotfilesOnly) { key = "6EF6CBB6420B81DA3CCACFEA874AA355B3209BDC"; signByDefault = true; }; @@ -42,7 +42,9 @@ in { ./editor.nix # vim, etc ./prompt.nix - ] ++ (lib.optional (!dotfilesOnly) ./desktop.nix); + ] ++ (lib.optional (!dotfilesOnly) + ./desktop.nix + ); # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage