diff --git a/modules/home/git.nix b/modules/home/git.nix index 424ef81..9f1a294 100644 --- a/modules/home/git.nix +++ b/modules/home/git.nix @@ -2,9 +2,14 @@ programs.git = { enable = true; - userName = "peprolinbot"; + userName = "Pedro Rey Anca"; userEmail = "personal@peprolinbot.com"; + signing = { + signByDefault = true; + key = null; # Let GnuPG decide what signing key to use depending on commit’s author. + }; + extraConfig = { init.defaultBranch = "main"; credential.helper = "store";