diff --git a/Justfile b/Justfile index efd308c4..41bde27a 100644 --- a/Justfile +++ b/Justfile @@ -335,7 +335,7 @@ list-systemd: [group('github')] gh-login: - gh auth login -h github.com --skip-ssh-key --git-protocol ssh --web + gh auth login -h github.com --skip-ssh-key --git-protocol ssh # Run nixpkgs-review for PR [group('nixpkgs')] diff --git a/home/base/core/git.nix b/home/base/core/git.nix index 355dafc4..52194a2d 100644 --- a/home/base/core/git.nix +++ b/home/base/core/git.nix @@ -16,25 +16,7 @@ # GitHub CLI tool # https://cli.github.com/manual/ - programs.gh = { - enable = true; - settings = { - git_protocol = "ssh"; - prompt = "enabled"; - aliases = { - co = "pr checkout"; - pv = "pr view"; - }; - }; - hosts = { - "github.com" = { - "users" = { - "ryan4yin" = null; - }; - "user" = "ryan4yin"; - }; - }; - }; + programs.gh.enable = true; programs.git = { enable = true;