From d370644b3a178f37cf1bb4c1a44e80464bb5aac8 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 5 Feb 2024 16:41:20 +0800 Subject: [PATCH] home/git: add gh --- home/applications/git/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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 + ''; }