nixos-config/config/programs/git.nix

20 lines
449 B
Nix
Raw Normal View History

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;
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
}