nix/modules/system/git/default.nix
2024-11-17 12:56:34 +01:00

12 lines
200 B
Nix

{mail, ...}: {
programs.git = {
enable = true;
config = {
safe.directory = "*";
user.name = "joy";
user.email = "${mail}";
init.defaultBranch = "main";
};
};
}