home/git: ssh signing -> gpg signing

This commit is contained in:
Guanran Wang 2024-04-03 01:11:21 +08:00
parent f6e7c89745
commit 5d90d44997
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -1,15 +1,14 @@
{ {
programs.git = { programs.git = {
enable = true; enable = true;
delta.enable = true;
userName = "Guanran Wang"; userName = "Guanran Wang";
userEmail = "guanran928@outlook.com"; userEmail = "guanran928@outlook.com";
delta.enable = true;
signing.signByDefault = true; signing.signByDefault = true;
signing.key = "~/.ssh/id_github_signing"; signing.key = "91F97D9ED12639CF";
extraConfig = {
gpg.format = "ssh"; extraConfig.pull.rebase = true;
pull.rebase = true;
};
}; };
programs.gh.enable = true; programs.gh.enable = true;