1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/vifm/example-settings.nix
2024-10-11 12:54:39 +02:00

21 lines
344 B
Nix

{ 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 ~/
''
}
'';
}