home/git: ssh signing -> gpg signing
This commit is contained in:
parent
f6e7c89745
commit
5d90d44997
1 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue