feat: git signing

This commit is contained in:
imxyy1soope1 committed 2025-05-03 14:24:24 +08:00
1 parent 36d63a667c
commit a0164ce7c0
1 file changed
+6
+6
View File
@@ -2,6 +2,7 @@
config,
lib,
pkgs,
username,
userfullname,
useremail,
...
@@ -52,6 +53,11 @@ lib.my.makeSwitch {
enable = true;
userName = "${userfullname}";
userEmail = "${useremail}";
signing = {
format = "ssh";
signByDefault = true;
key = "/home/${username}/.ssh/id_ed25519";
};
extraConfig = {
pull.rebase = true;
push.autoSetupRemote = true;