diff --git a/modules/home/tools/git/default.nix b/modules/home/tools/git/default.nix index d57915c..83d19a8 100644 --- a/modules/home/tools/git/default.nix +++ b/modules/home/tools/git/default.nix @@ -21,6 +21,7 @@ in home.packages = with pkgs; [ git-delete-merged-branches delta + difftastic ]; programs.git = { enable = true; @@ -44,6 +45,9 @@ in alias = { co = "checkout"; ci = "commit --signoff"; + dlog = "-c diff.external=difft log --ext-diff"; + dshow = "-c diff.external=difft show --ext-diff"; + ddiff = "-c diff.external=difft diff"; }; pull.ff = "only"; core.pager = "${pkgs.delta}/bin/delta";