Not sure if this is a git problem in general, a nix, home manager or nix-darwin in combo with git problem.
The problem is that by default every time I do a switch it reupdates the file {$out}/etc/gitconfig with credential.helper=osxkeychain.
I have not been able to find any easy/simple config variant of removing this default setup.
In my git.nix file I have
...
programs = {
git = {
enable = true;
settings = {
user.email = "[redacted]";
user.name = "[redacted]";
credential.helper = "manager";
credential.useHttpPath = true;
...
I am expecting the above setting to be the only credential.helpere but osxkeychain keeps popping up as default.
Any hint, clues, help?
Thx in advance.