mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 21:11:08 +01:00
git: difftastic: use 'option' attrset
This will avoid having to enumerate and hard-code default values.
This commit is contained in:
parent
ed10023224
commit
929535c308
3 changed files with 48 additions and 78 deletions
|
|
@ -5,14 +5,14 @@
|
|||
difftastic = {
|
||||
enable = true;
|
||||
enableAsDifftool = true;
|
||||
background = "dark";
|
||||
color = "always";
|
||||
context = 5;
|
||||
display = "inline";
|
||||
extraArgs = [
|
||||
"--tab-width=8"
|
||||
"--sort-paths"
|
||||
];
|
||||
options = {
|
||||
background = "dark";
|
||||
color = "always";
|
||||
context = 5;
|
||||
display = "inline";
|
||||
tab-width = 8;
|
||||
sort-paths = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue