git: add tests for difftastic

This commit is contained in:
Brian Lyles 2025-09-30 00:29:34 -05:00 committed by Austin Horstman
parent e46b52ab56
commit d328666dba
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{
programs.git = {
enable = true;
signing.signer = "path-to-gpg";
difftastic = {
enable = true;
enableAsDifftool = true;
background = "dark";
color = "always";
display = "inline";
};
};
nmt.script = ''
assertFileExists home-files/.config/git/config
assertFileContent home-files/.config/git/config ${./git-difftastic-expected.conf}
'';
}