diff --git a/home/applications/git/default.nix b/home/applications/git/default.nix index db755a0..d416b59 100644 --- a/home/applications/git/default.nix +++ b/home/applications/git/default.nix @@ -1,4 +1,5 @@ { + programs.gh.enable = true; programs.git = { enable = true; userName = "Guanran Wang"; @@ -11,4 +12,10 @@ pull.rebase = true; }; }; + + xdg.configFile."gh/hosts.yml".text = '' + github.com: + git_protocol: https + user: Guanran928 + ''; }