nixos-config/config/apps/git.nix

13 lines
214 B
Nix

{ user, ... }:
{
programs.git = {
enable = true;
userEmail = "alexmat2on@protonmail.com";
userName = user;
ignores = [ "*~" ];
extraConfig = {
init.defaultBranch = "main";
};
};
}