diff options
author | Alan Pearce | 2023-07-09 07:51:19 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-13 19:43:14 +0200 |
commit | d76241ded395791a37f17ff91719589ba39a758d (patch) | |
tree | 2bc71499c9d589a7bf013294c5442cfeb2644bac /user/settings | |
parent | a4e0933373c723eca8843481044af9621904e6a6 (diff) | |
download | nixfiles-d76241ded395791a37f17ff91719589ba39a758d.tar.lz nixfiles-d76241ded395791a37f17ff91719589ba39a758d.tar.zst nixfiles-d76241ded395791a37f17ff91719589ba39a758d.zip |
git: configure git-delta via home-manager module support
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/git.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix index dfc27de9..849c55f7 100644 --- a/user/settings/git.nix +++ b/user/settings/git.nix @@ -6,20 +6,19 @@ enable = true; userName = "Alan Pearce"; userEmail = "alan@alanpearce.eu"; + delta = { + enable = true; + options = { + navigate = true; + light = true; + }; + }; extraConfig = { ghq = { user = "alanpearce"; }; core = { commitGraph = true; - pager = "${pkgs.delta}/bin/delta"; - }; - interactive = { - diffFilter = "${pkgs.delta}/bin/delta --color-only"; - }; - delta = { - navigate = true; - light = true; }; pull = { rebase = true; |