shell: configure programs.gh
Alan Pearce alan@alanpearce.eu
Mon, 29 Apr 2024 20:57:48 +0200
1 files changed, 10 insertions(+), 1 deletions(-)
jump to
M user/settings/shell.nix → user/settings/shell.nix
@@ -141,9 +141,18 @@ ngc = "nix-collect-garbage --delete-older-than 30d"; sngc = "sudo nix-collect-garbage --delete-older-than 30d"; }; }; + programs.gh = { + enable = true; + extensions = with pkgs; [ gh-eco ]; + settings = { + git_protocol = "ssh"; + aliases = { + fork = "repo fork --origin-name fork --default-branch-only"; + }; + }; + }; home.packages = with pkgs; [ fzf - gh ghq delta git