feat(git): replace delta with difftastic

This commit is contained in:
Moritz Böhme 2023-05-27 12:01:36 +02:00
parent e51a263590
commit 6e33ac7509
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

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