git: allow extraSettings

This commit is contained in:
2026-02-06 23:17:03 +01:00
parent 3df2335241
commit 095efdd402

View File

@@ -1,8 +1,12 @@
{ wrappers, pkgs }: {
wrappers,
pkgs,
extraSettings ? { },
}:
let let
git = wrappers.wrapperModules.git.apply { git = wrappers.wrapperModules.git.apply {
inherit pkgs; inherit pkgs;
settings = { settings = pkgs.lib.recursiveUpdate {
alias = { alias = {
co = "checkout"; co = "checkout";
br = "branch"; br = "branch";
@@ -20,7 +24,7 @@ let
rebase.autoStash = true; rebase.autoStash = true;
merge.autoStash = true; merge.autoStash = true;
push.autoSetupRemote = true; push.autoSetupRemote = true;
}; } extraSettings;
}; };
in in
git.wrapper git.wrapper