1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/khard/basic_config.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

44 lines
787 B
Nix

{
accounts.contact = {
basePath = ".contacts";
accounts.test = {
local.type = "filesystem";
khard.enable = true;
};
};
programs.khard = {
enable = true;
settings = {
general = {
default_action = "list";
editor = [
"vim"
"-i"
"NONE"
];
};
"contact table" = {
group_by_address_book = true;
reverse = false;
preferred_phone_number_type = [
"pref"
"cell"
"home"
];
preferred_email_address_type = [
"pref"
"work"
"home"
];
};
};
};
nmt.script = ''
assertFileContent \
home-files/.config/khard/khard.conf \
${./basic_config_expected}
'';
}