mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 10:09:45 +01: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) {
|
(mkIf (cfg.signing != null) {
|
||||||
programs.git.iniContent = {
|
programs.git.iniContent = {
|
||||||
user.signingKey = mkIf (cfg.signing.key != null) cfg.signing.key;
|
user.signingKey = mkIf (cfg.signing.key != null) cfg.signing.key;
|
||||||
commit.gpgSign = cfg.signing.signByDefault;
|
commit.gpgSign = mkDefault cfg.signing.signByDefault;
|
||||||
tag.gpgSign = cfg.signing.signByDefault;
|
tag.gpgSign = mkDefault cfg.signing.signByDefault;
|
||||||
gpg.program = cfg.signing.gpgPath;
|
gpg.program = cfg.signing.gpgPath;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue