nix/modules/programs/git/default.nix
2024-11-08 18:23:40 +01:00

15 lines
199 B
Nix

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