git: add basic support for delta

PR #1198
This commit is contained in:
Mario Rodas 2020-04-26 04:20:00 -05:00 committed by Robert Helgesson
parent 03b4f81679
commit cba7b6ee6e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
4 changed files with 51 additions and 0 deletions

View file

@ -15,6 +15,8 @@ let
pkgs.substituteAll {
src = path;
deltaCommand = "${pkgs.gitAndTools.delta}/bin/delta";
git_include_path = pkgs.writeText "contents"
(builtins.readFile ./git-expected-include.conf);
};
@ -56,6 +58,10 @@ in {
userEmail = "user@example.org";
userName = "John Doe";
lfs.enable = true;
delta = {
enable = true;
options = [ "--dark" ];
};
}
{