fix(git): allow null values in sign options
This commit is contained in:
parent
3e51630417
commit
5ac9a372b9
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ in
|
|||
};
|
||||
|
||||
signingKey = mkOption {
|
||||
type = types.str;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = "signing key fingerprint";
|
||||
};
|
||||
|
@ -46,7 +46,7 @@ in
|
|||
package = pkgs.gitFull;
|
||||
userName = "${cfg.userName}";
|
||||
userEmail = "${cfg.userEmail}";
|
||||
signing.key = "${cfg.signingKey}";
|
||||
signing.key = cfg.signingKey;
|
||||
signing.signByDefault = cfg.signByDefault;
|
||||
aliases = {
|
||||
co = "checkout";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue