2023-08-26 16:35:30 +00:00
|
|
|
{...}: {
|
2024-02-16 16:48:28 +00:00
|
|
|
programs.git = let
|
2023-08-26 16:35:30 +00:00
|
|
|
userName = "Kristian Krsnik";
|
|
|
|
userEmail = "git@krsnik.at";
|
2024-02-16 16:48:28 +00:00
|
|
|
in {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
inherit userName userEmail;
|
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
|
|
|
}
|