From d331cceec7cc05061a3c6073eee06c4dba9cf5d3 Mon Sep 17 00:00:00 2001 From: Sylvain Fankhauser Date: Wed, 7 Dec 2022 17:43:08 +0100 Subject: [PATCH] gpg: allow unsigned tags --- modules/programs/git.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/git.nix b/modules/programs/git.nix index 0b5dae5b..75f062f5 100644 --- a/modules/programs/git.nix +++ b/modules/programs/git.nix @@ -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; }; })