home/git: add gh

This commit is contained in:
Guanran Wang 2024-02-05 16:41:20 +08:00
parent ac8475706e
commit d370644b3a
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,4 +1,5 @@
{ {
programs.gh.enable = true;
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Guanran Wang"; userName = "Guanran Wang";
@ -11,4 +12,10 @@
pull.rebase = true; pull.rebase = true;
}; };
}; };
xdg.configFile."gh/hosts.yml".text = ''
github.com:
git_protocol: https
user: Guanran928
'';
} }