Files
nixos/modules/applications/git.nix
T
2026-08-16 08:32:19 +02:00

19 lines
396 B
Nix

_: {
flake.homeModules.git = _: {
programs.git = {
enable = true;
/*
for some reason this doesnt work really well. So it's best to setup git imperatively
push.autoSetupRemote to true
settings = {
init.defaultBranch = "main";
};
*/
};
programs.gh = {
enable = true;
gitCredentialHelper.enable = true;
};
};
}