all repos — nixfiles @ 136fcdc7046b992a5f36418a86fcfc54b3306702

System and user configuration, managed by nix and home-manager

shell: configure programs.gh

Alan Pearce
commit

136fcdc7046b992a5f36418a86fcfc54b3306702

parent

75a4e09f1d241f7882a86d7f9c4aa1804a981209

1 file changed, 10 insertions(+), 1 deletion(-)

jump to
M user/settings/shell.nixuser/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