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