From 6425c78e4cc5dca2d98882f43a3df2b714054cf0 Mon Sep 17 00:00:00 2001 From: sils Date: Sat, 6 May 2023 12:52:11 +0200 Subject: Feat(u/sils/git): Enable delta --- users/sils/git/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'users') 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"; }; }; } -- cgit 1.4.1