diff --git a/modules/programs/git.nix b/modules/programs/git.nix index 2b0d8a2f..7dc1721f 100644 --- a/modules/programs/git.nix +++ b/modules/programs/git.nix @@ -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; }; })