home-manager/tests/modules/programs/khard/empty_config.nix
2023-10-01 09:29:05 +02:00

19 lines
335 B
Nix

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