diff --git a/packages/git.nix b/packages/git.nix index 25a4268..4f1145a 100644 --- a/packages/git.nix +++ b/packages/git.nix @@ -1,8 +1,12 @@ -{ wrappers, pkgs }: +{ + wrappers, + pkgs, + extraSettings ? { }, +}: let git = wrappers.wrapperModules.git.apply { inherit pkgs; - settings = { + settings = pkgs.lib.recursiveUpdate { alias = { co = "checkout"; br = "branch"; @@ -20,7 +24,7 @@ let rebase.autoStash = true; merge.autoStash = true; push.autoSetupRemote = true; - }; + } extraSettings; }; in git.wrapper