home-manager
home-manager copied to clipboard
git: option to use difftastic as difftool (not main diff)
Description
I want git diff
to stay the same, but git difftool
to use difftastic,
as described in the difftastic docs:
https://difftastic.wilfred.me.uk/git.html#regular-usage
Checklist
-
[x] Change is backwards compatible.
-
[x] Code formatted with
./format
. -
[x] Code tested through
nix-shell --pure tests -A run.all
ornix develop --ignore-environment .#all
using Flakes. -
[ ] Test cases updated/added. See example.
-
[x] Commit messages are formatted like
{component}: {description} {long description}
See CONTRIBUTING for more information and recent commit messages for examples.
-
If this PR adds a new module
- [ ] Added myself as module maintainer. See example.
Maintainer CC
@rycee