1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

delta: create new module

Pull out of git module and deprecate old usage.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-10-12 19:19:12 -05:00
parent 90af98a2fc
commit f436677f5f
4 changed files with 126 additions and 78 deletions

View file

@ -6,18 +6,6 @@
[commit]
gpgSign = true
[core]
pager = "@delta@/bin/delta"
[delta]
features = "decorations"
whitespace-error-style = "22 reverse"
[delta "decorations"]
commit-decoration-style = "bold yellow box ul"
file-decoration-style = "none"
file-style = "bold yellow ul"
[extra]
boolean = true
integer = 38
@ -43,9 +31,6 @@
[gpg "openpgp"]
program = "path-to-gpg"
[interactive]
diffFilter = "@delta@/bin/delta --color-only"
[tag]
gpgSign = true

View file

@ -69,18 +69,6 @@ in
userEmail = "user@example.org";
userName = "John Doe";
lfs.enable = true;
delta = {
enable = true;
options = {
features = "decorations";
whitespace-error-style = "22 reverse";
decorations = {
commit-decoration-style = "bold yellow box ul";
file-style = "bold yellow ul";
file-decoration-style = "none";
};
};
};
}
{