From 0d569116d29a7dc51d2593d4d731a43c91ae0841 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 23 Mar 2026 00:22:21 +0800 Subject: [PATCH] chore: gh-cli update config --- Justfile | 2 +- home/base/core/git.nix | 20 +------------------- 2 files changed, 2 insertions(+), 20 deletions(-) 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;