flake/home/applications/git/default.nix
Guanran Wang 81b0ee0ded
hosts: add socrates
- gh need to store credentials in hosts.yaml
2024-03-20 23:10:42 +08:00

16 lines
334 B
Nix

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