home-manager/tests/modules/programs/khard/empty_config.nix

20 lines
335 B
Nix
Raw Normal View History

2023-07-03 20:06:38 +00:00
{
accounts.contact = {
basePath = ".contacts";
accounts.test = {
local.type = "filesystem";
khard.enable = true;
};
};
programs.khard.enable = true;
test.stubs.khard = { };
nmt.script = ''
assertFileContent \
home-files/.config/khard/khard.conf \
${./empty_config_expected}
'';
}