summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--users/sils/git/default.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/users/sils/git/default.nix b/users/sils/git/default.nix
index 9e411da..1839f25 100644
--- a/users/sils/git/default.nix
+++ b/users/sils/git/default.nix
@@ -3,6 +3,18 @@
     enable = true;
     userEmail = "sils@sils.li";
     userName = "sils";
+    delta = {
+      enable = true;
+      options = {
+        decorations = {
+          commit-decoration-style = "bold purple box ul";
+          file-decoration-style = "none";
+          file-style = "bold red ul";
+        };
+        features = "decorations";
+        whitespace-error-style = "22 reverse";
+      };
+    };
     signing = {
       key = "DF1878E6D9C3B27F";
       signByDefault = true;
@@ -20,7 +32,6 @@
       init = {
         defaultBranch = "main";
       };
-      credential.helper = "store";
     };
   };
 }