programs.difftastic.enable
Whether to enable difftastic, a structural diff tool.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.difftastic.package
The difftastic package to use.
Type: package
Default:
pkgs.difftastic
Declared by:
programs.difftastic.git.enable
Whether to enable git integration for difftastic.
When enabled, difftastic will be configured as git’s external diff
command, as a git difftool, or both, depending on the value of
programs.difftastic.git.mode.
Type: boolean
Default:
false
Declared by:
programs.difftastic.git.mode
How difftastic integrates with git.
"external": setdiff.externalsogit diffuses difftastic by default."difftool": only configure difftastic as a git difftool (diff.toolanddifftool.difftastic.cmd), leavinggit diffuntouched."both": configure bothdiff.externaland the difftool.
Type: one of “external”, “difftool”, “both”
Default:
"external"
Example:
"difftool"
Declared by:
programs.difftastic.jujutsu.enable
Whether to enable jujutsu integration for difftastic.
Type: boolean
Default:
false
Declared by:
programs.difftastic.options
Configuration options for difftastic. See difft --help
Type: attribute set of (string or signed integer or boolean or list of (string or signed integer or boolean))
Default:
{ }
Example:
{
color = "always";
sort-paths = true;
tab-width = 8;
}
Declared by: