19 lines
449 B
Nix
19 lines
449 B
Nix
desktop: {pkgs, ...}: {
|
|
programs.git = {
|
|
enable = true;
|
|
package =
|
|
if desktop
|
|
then pkgs.gitAndTools.gitFull
|
|
else pkgs.git;
|
|
lfs.enable = true;
|
|
signing.signByDefault = true;
|
|
signing.key = "AB2BD8DAF2E37122";
|
|
userEmail = "lotte@chir.rs";
|
|
userName = "Charlotte 🦝 Delenk";
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
merge.conflictstyle = "diff3";
|
|
};
|
|
delta.enable = true;
|
|
};
|
|
}
|