Skip to content

Commit daaeb88

Browse files
committed
git: use iniContent
Lets us override values, since Git transfers everything from extraConfig into iniContent. If we want to `lib.mkForce` something, we have to be in iniContent to be able to override it.
1 parent 1537951 commit daaeb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/cli/git.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
diff-so-fancy.enable = true;
1717

1818

19-
extraConfig = # See https://git-scm.com/docs/git-config
19+
iniContent = # See https://git-scm.com/docs/git-config. Need to do `iniContent` to force default value
2020
{
2121
push.autoSetupRemote = true;
2222
init.defaultBranch = "main";

0 commit comments

Comments
 (0)