chore: gh-cli update config

This commit is contained in:
Ryan Yin
2026-03-23 00:22:21 +08:00
parent 59f194f05b
commit 0d569116d2
2 changed files with 2 additions and 20 deletions

View File

@@ -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')]

View File

@@ -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;