nix/modules/programs/git/default.nix
2024-11-16 20:08:49 +01:00

16 lines
219 B
Nix

{
mail,
username,
domain,
...
}: {
programs.git = {
enable = true;
userEmail = "${mail.b}@${domain}";
userName = "${username}";
extraConfig = {
init.defaultBranch = "main";
};
};
}