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;
|
|
|
|
signing.signByDefault = true;
|
2022-02-02 16:47:02 +00:00
|
|
|
signing.key = "AB2BD8DAF2E37122";
|
2022-01-18 13:49:11 +00:00
|
|
|
userEmail = "lotte@chir.rs";
|
|
|
|
userName = "Charlotte 🦝 Delenk";
|
2022-05-13 20:47:21 +00:00
|
|
|
extraConfig = {
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
merge.conflictstyle = "diff3";
|
|
|
|
};
|
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
|
|
|
}
|