home-manager/common/git.nix

16 lines
269 B
Nix
Raw Normal View History

2023-08-26 16:35:30 +00:00
{...}: {
2023-09-04 21:53:54 +00:00
config.programs.git = rec {
2023-08-26 16:35:30 +00:00
enable = true;
userName = "Kristian Krsnik";
userEmail = "git@krsnik.at";
2023-09-04 21:53:54 +00:00
signing = {
key = userEmail;
signByDefault = true;
};
2023-08-26 16:35:30 +00:00
extraConfig = {
init.defaultBranch = "main";
};
};
2023-07-23 03:04:32 +00:00
}