mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-31 03:40:43 +02:00
chore: gh-cli update config
This commit is contained in:
@@ -335,7 +335,7 @@ list-systemd:
|
|||||||
|
|
||||||
[group('github')]
|
[group('github')]
|
||||||
gh-login:
|
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
|
# Run nixpkgs-review for PR
|
||||||
[group('nixpkgs')]
|
[group('nixpkgs')]
|
||||||
|
|||||||
+1
-19
@@ -16,25 +16,7 @@
|
|||||||
|
|
||||||
# GitHub CLI tool
|
# GitHub CLI tool
|
||||||
# https://cli.github.com/manual/
|
# https://cli.github.com/manual/
|
||||||
programs.gh = {
|
programs.gh.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
git_protocol = "ssh";
|
|
||||||
prompt = "enabled";
|
|
||||||
aliases = {
|
|
||||||
co = "pr checkout";
|
|
||||||
pv = "pr view";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
hosts = {
|
|
||||||
"github.com" = {
|
|
||||||
"users" = {
|
|
||||||
"ryan4yin" = null;
|
|
||||||
};
|
|
||||||
"user" = "ryan4yin";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user