all repos — nixfiles @ c7dc45f3918e80c252f92932d8dabd7f2496b65e

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

git: move tool install/config to git.nix

Alan Pearce
commit

c7dc45f3918e80c252f92932d8dabd7f2496b65e

parent

22b2b2d668e522991a253dc18cad579b7a849546

2 files changed, 13 insertions(+), 14 deletions(-)

jump to
M user/settings/git.nixuser/settings/git.nix
@@ -89,7 +89,20 @@ ".\#*"
".tabnine_root" ]; }; + programs.gh = { + enable = true; + settings = { + git_protocol = "ssh"; + aliases = { + fork = "repo fork --remote --remote-name alanpearce --default-branch-only"; + }; + }; + }; home.packages = with pkgs; [ git-extras # delete-merged-branches and friends + ghq + delta + gitui + gitstatus ]; }
M user/settings/shell.nixuser/settings/shell.nix
@@ -141,22 +141,8 @@ ngc = "nix-collect-garbage --delete-older-than 30d";
sngc = "sudo nix-collect-garbage --delete-older-than 30d"; }; }; - programs.gh = { - enable = true; - settings = { - git_protocol = "ssh"; - aliases = { - fork = "repo fork --remote --remote-name fork --default-branch-only"; - }; - }; - }; home.packages = with pkgs; [ fzf - ghq - delta - git - gitui - gitstatus up ]; }