diff --git a/modules/home/shell/git.nix b/modules/home/shell/git.nix index 85a0866..513d105 100644 --- a/modules/home/shell/git.nix +++ b/modules/home/shell/git.nix @@ -14,6 +14,7 @@ in programs.git = { enable = true; lfs.enable = true; + difftastic.enable = true; userName = "Florian RICHER"; userEmail = "florian.richer@protonmail.com"; diff --git a/modules/home/shell/lazygit.nix b/modules/home/shell/lazygit.nix index c6ca0a0..b35aeaa 100644 --- a/modules/home/shell/lazygit.nix +++ b/modules/home/shell/lazygit.nix @@ -15,7 +15,10 @@ in enable = true; settings = { - git.pull.mode = "rebase"; + git = { + pull.mode = "rebase"; + paging.externalDiffCommand = "difft --color=always"; + }; }; }; };