nix/modules/system/git/default.nix

13 lines
228 B
Nix
Raw Permalink Normal View History

2024-11-17 12:56:34 +01:00
{mail, ...}: {
programs.git = {
enable = true;
config = {
safe.directory = "*";
user.name = "joy";
user.email = "${mail}";
init.defaultBranch = "main";
2024-11-24 20:22:54 +01:00
pull.rebase = "true";
2024-11-17 12:56:34 +01:00
};
};
}