This option will cover any other arguments that aren't made available with dedicated options.
23 lines
495 B
Nix
23 lines
495 B
Nix
{
|
|
programs.git = {
|
|
enable = true;
|
|
signing.signer = "path-to-gpg";
|
|
difftastic = {
|
|
enable = true;
|
|
enableAsDifftool = true;
|
|
background = "dark";
|
|
color = "always";
|
|
context = 5;
|
|
display = "inline";
|
|
extraArgs = [
|
|
"--tab-width=8"
|
|
"--sort-paths"
|
|
];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/git/config
|
|
assertFileContent home-files/.config/git/config ${./git-difftastic-expected.conf}
|
|
'';
|
|
}
|