vifm: add module
This commit is contained in:
parent
342a1d6823
commit
5828309542
8 changed files with 88 additions and 1 deletions
21
tests/modules/programs/vifm/example-settings.nix
Normal file
21
tests/modules/programs/vifm/example-settings.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
programs.vifm = {
|
||||
enable = true;
|
||||
package = config.lib.test.mkStubPackage { };
|
||||
extraConfig = ''
|
||||
mark h ~/
|
||||
'';
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent \
|
||||
home-files/.config/vifm/vifmrc \
|
||||
${
|
||||
builtins.toFile "vifm-expected.conf" ''
|
||||
mark h ~/
|
||||
''
|
||||
}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue