diff options
author | sils <sils@sils.li> | 2023-05-06 12:52:11 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-05-06 13:00:50 +0200 |
commit | 6425c78e4cc5dca2d98882f43a3df2b714054cf0 (patch) | |
tree | 8b4075258696c5b91f8a64e06e80214e4dd1d051 | |
parent | Feat(s/users): Specify uid and group for sils (diff) | |
download | nix-config-6425c78e4cc5dca2d98882f43a3df2b714054cf0.tar.gz nix-config-6425c78e4cc5dca2d98882f43a3df2b714054cf0.zip |
Feat(u/sils/git): Enable delta
-rw-r--r-- | users/sils/git/default.nix | 13 |
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"; }; }; } |