mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
git: allow tags to be unsigned when signing.signByDefault=true (#3479)
This commit is contained in:
parent
db1c22626a
commit
547a3bc8d4
1 changed files with 2 additions and 2 deletions
|
@ -466,8 +466,8 @@ in {
|
|||
(mkIf (cfg.signing != null) {
|
||||
programs.git.iniContent = {
|
||||
user.signingKey = mkIf (cfg.signing.key != null) cfg.signing.key;
|
||||
commit.gpgSign = cfg.signing.signByDefault;
|
||||
tag.gpgSign = cfg.signing.signByDefault;
|
||||
commit.gpgSign = mkDefault cfg.signing.signByDefault;
|
||||
tag.gpgSign = mkDefault cfg.signing.signByDefault;
|
||||
gpg.program = cfg.signing.gpgPath;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue