feat: enable commit signing

This commit is contained in:
Michael Mandl 2022-06-20 19:42:49 +02:00
parent c8f1f850d3
commit 4c14074d04
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -41,8 +41,6 @@
git = {
enable = true;
userName = "Michael Mandl";
userEmail = "mandlm@molez.net";
extraConfig = {
user.private.name = "Michael Mandl";
user.private.email = "mandlm@molez.net";
@ -64,7 +62,7 @@
};
aliases = {
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :";
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; git config commit.gpgsign \"true\"; :";
};
};