all repos — nixfiles @ d76241ded395791a37f17ff91719589ba39a758d

System and user configuration, managed by nix and home-manager

git: configure git-delta via home-manager module support
Alan Pearce alan@alanpearce.eu
Sun, 09 Jul 2023 07:51:19 +0200
commit

d76241ded395791a37f17ff91719589ba39a758d

parent

a4e0933373c723eca8843481044af9621904e6a6

1 files changed, 7 insertions(+), 8 deletions(-)

jump to
M user/settings/git.nixuser/settings/git.nix
@@ -6,20 +6,19 @@ programs.git = {     enable = true;
     userName = "Alan Pearce";
     userEmail = "alan@alanpearce.eu";
+    delta = {
+      enable = true;
+      options = {
+        navigate = true;
+        light = true;
+      };
+    };
     extraConfig = {
       ghq = {
         user = "alanpearce";
       };
       core = {
         commitGraph = true;
-        pager = "${pkgs.delta}/bin/delta";
-      };
-      interactive = {
-        diffFilter = "${pkgs.delta}/bin/delta --color-only";
-      };
-      delta = {
-        navigate = true;
-        light = true;
       };
       pull = {
         rebase = true;