feat: enable commit signing
parent
c8f1f850d3
commit
4c14074d04
|
@ -41,8 +41,6 @@
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Michael Mandl";
|
|
||||||
userEmail = "mandlm@molez.net";
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
user.private.name = "Michael Mandl";
|
user.private.name = "Michael Mandl";
|
||||||
user.private.email = "mandlm@molez.net";
|
user.private.email = "mandlm@molez.net";
|
||||||
|
@ -64,7 +62,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases = {
|
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\"; :";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue