htop: let htop program use its default settings
Don't generate the `htoprc` when using default settings to use the defaults of the htop program. Rename the test for this case to 'empty-settings'.
This commit is contained in:
parent
7226c2db46
commit
e4553546cc
3 changed files with 6 additions and 53 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
htop-default-settings = ./default-settings.nix;
|
||||
htop-empty-settings = ./empty-settings.nix;
|
||||
htop-example-settings = ./example-settings.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ with lib;
|
|||
programs.htop.enable = true;
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/htop/htoprc
|
||||
assertPathNotExists home-files/.config/htop
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue