{ programs.git = { enable = true; signing.signer = "path-to-gpg"; difftastic = { enable = true; enableAsDifftool = true; options = { background = "dark"; color = "always"; context = 5; display = "inline"; tab-width = 8; sort-paths = true; }; }; }; nmt.script = '' assertFileExists home-files/.config/git/config assertFileContent home-files/.config/git/config ${./git-difftastic-expected.conf} ''; }