nixos/home/git/default.nix
2024-03-13 19:42:50 +01:00

13 lines
297 B
Nix

{
programs.git = {
enable = true;
userName = "Hadi"; # CHANGEME
userEmail = "112569860+anotherhadi@users.noreply.github.com"; # CHANGEME
extraConfig = {
init.defaultBranch = "main";
# Automatically track remote branch
push.autoSetupRemote = true;
};
};
}