1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

[backport 22.11] gpg: allow unsigned tags (#3730)

(cherry picked from commit d331cceec7)

Co-authored-by: Sylvain Fankhauser <sephi@fhtagn.top>
This commit is contained in:
Naïm Favier 2023-03-02 12:45:46 +01:00 committed by GitHub
parent a7d3f51e9e
commit 86bb69b0b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -458,8 +458,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;
};
})