home-manager/systems/common/git.nix

18 lines
264 B
Nix
Raw Normal View History

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