2023-03-04 17:44:39 +00:00
|
|
|
desktop: {pkgs, ...}: {
|
2022-01-18 13:49:11 +00:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
2023-03-04 17:44:39 +00:00
|
|
|
package =
|
|
|
|
if desktop
|
|
|
|
then pkgs.gitAndTools.gitFull
|
|
|
|
else pkgs.git;
|
2022-01-18 13:49:11 +00:00
|
|
|
lfs.enable = true;
|
|
|
|
userEmail = "lotte@chir.rs";
|
|
|
|
userName = "Charlotte 🦝 Delenk";
|
2022-05-13 20:47:21 +00:00
|
|
|
extraConfig = {
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
merge.conflictstyle = "diff3";
|
2024-01-16 09:58:27 +00:00
|
|
|
push.autoSetupRemote = true;
|
|
|
|
rerere.enabled = true;
|
2022-05-13 20:47:21 +00:00
|
|
|
};
|
2023-01-03 15:09:39 +00:00
|
|
|
delta.enable = true;
|
2022-01-18 13:49:11 +00:00
|
|
|
};
|
2022-01-19 08:28:39 +00:00
|
|
|
}
|