home,git: add signing

This commit is contained in:
Guanran Wang 2023-11-06 08:10:58 +08:00
parent 678f743a9b
commit 6aeaf8b388
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -72,6 +72,13 @@
userName = "Guanran Wang"; userName = "Guanran Wang";
userEmail = "guanran928@outlook.com"; userEmail = "guanran928@outlook.com";
delta.enable = true; delta.enable = true;
signing.signByDefault = true;
signing.key = "~/.ssh/id_github_signing";
extraConfig = {
gpg.format = "ssh";
pull.rebase = true;
}; };
}; };
};
services.ssh-agent.enable = true;
} }