mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-10 17:02:43 +02:00
19 lines
396 B
Nix
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;
|
|
};
|
|
};
|
|
}
|