nix/modules/system/git/default.nix
2024-11-24 20:22:54 +01:00

13 lines
228 B
Nix

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