Sign git commits
This commit is contained in:
parent
b507a19bdc
commit
aa2aa0ef2d
|
@ -2,9 +2,14 @@
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
userName = "peprolinbot";
|
userName = "Pedro Rey Anca";
|
||||||
userEmail = "personal@peprolinbot.com";
|
userEmail = "personal@peprolinbot.com";
|
||||||
|
|
||||||
|
signing = {
|
||||||
|
signByDefault = true;
|
||||||
|
key = null; # Let GnuPG decide what signing key to use depending on commit’s author.
|
||||||
|
};
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
credential.helper = "store";
|
credential.helper = "store";
|
||||||
|
|
Loading…
Reference in a new issue