home,git: add signing
This commit is contained in:
parent
678f743a9b
commit
6aeaf8b388
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue