diff options
| -rw-r--r-- | nix/users/fcuny/git.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/nix/users/fcuny/git.nix b/nix/users/fcuny/git.nix index ee48cc7..48e3b43 100644 --- a/nix/users/fcuny/git.nix +++ b/nix/users/fcuny/git.nix @@ -3,9 +3,22 @@ home.packages = with pkgs; [ gitAndTools.pre-commit git-credential-manager - gh ]; + programs.gh = { + enable = true; + + settings = { + version = 1; + git_protocol = "ssh"; + prompt = "enabled"; + aliases = { + co = "pr checkout"; + vw = "pr view --web"; + }; + }; + }; + programs.git = { enable = true; @@ -47,6 +60,7 @@ ignores = [ ".envrc" ".direnv" + ".DS_Store" ]; extraConfig = { |
