Sign git commits

This commit is contained in:
Pedro Rey Anca 2024-11-02 16:48:29 +01:00
parent b507a19bdc
commit aa2aa0ef2d
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A

View file

@ -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 commits author.
};
extraConfig = {
init.defaultBranch = "main";
credential.helper = "store";