mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-25 10:52:03 +01:00
chore: gh-cli update config
This commit is contained in:
2
Justfile
2
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')]
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user