1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-20 05:17:28 +02:00
home-manager/tests/modules/programs/khard/dirty_path.nix

23 lines
421 B
Nix
Raw Normal View History

{
accounts.contact = {
basePath = "/home/user/who/likes///";
accounts.forward = {
local.type = "filesystem";
khard = {
enable = true;
defaultCollection = "////slashes//a/lot";
};
};
};
programs.khard.enable = true;
test.stubs.khard = { };
nmt.script = ''
assertFileContent \
home-files/.config/khard/khard.conf \
${./dirty_path_expected}
'';
}