Don't supply signing in only-dotfiles environments

This commit is contained in:
Spotlight 2023-07-04 03:46:12 -05:00
parent e237c5dd4b
commit 3c21629f68
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

View file

@ -25,7 +25,7 @@ in {
userEmail = "spotlight@joscomputing.space"; userEmail = "spotlight@joscomputing.space";
# Only specify signing if GPG is otherwise being pulled in; # Only specify signing if GPG is otherwise being pulled in;
# i.e. not in a dotfiles only configuration. # i.e. not in a dotfiles only configuration.
signing = lib.mkIf dotfilesOnly { signing = lib.mkIf (!dotfilesOnly) {
key = "6EF6CBB6420B81DA3CCACFEA874AA355B3209BDC"; key = "6EF6CBB6420B81DA3CCACFEA874AA355B3209BDC";
signByDefault = true; signByDefault = true;
}; };
@ -42,7 +42,9 @@ in {
./editor.nix ./editor.nix
# vim, etc # vim, etc
./prompt.nix ./prompt.nix
] ++ (lib.optional (!dotfilesOnly) ./desktop.nix); ] ++ (lib.optional (!dotfilesOnly)
./desktop.nix
);
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage