feat(git): replace delta with difftastic
This commit is contained in:
parent
e51a263590
commit
6e33ac7509
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ config
|
{ config
|
||||||
, lib
|
, lib
|
||||||
|
, pkgs
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -51,8 +52,8 @@ in
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
merge.conflictstyle = "zdiff3";
|
merge.conflictstyle = "zdiff3";
|
||||||
|
diff.external = getExe pkgs.difftastic;
|
||||||
};
|
};
|
||||||
delta.enable = true;
|
|
||||||
signing = mkIf cfg.signing {
|
signing = mkIf cfg.signing {
|
||||||
key = "0x970C6E89EB0547A9";
|
key = "0x970C6E89EB0547A9";
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
|
|
Loading…
Reference in a new issue