Don't supply signing in only-dotfiles environments
This commit is contained in:
parent
e237c5dd4b
commit
3c21629f68
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue