mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 07:39:46 +01:00
24 lines
431 B
Nix
24 lines
431 B
Nix
|
{
|
||
|
accounts.contact = {
|
||
|
basePath = ".contacts";
|
||
|
accounts.test1 = {
|
||
|
local.type = "filesystem";
|
||
|
khard.enable = true;
|
||
|
};
|
||
|
accounts.test2 = {
|
||
|
local.type = "filesystem";
|
||
|
khard.enable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
programs.khard.enable = true;
|
||
|
|
||
|
test.stubs.khard = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/khard/khard.conf \
|
||
|
${./multiple_accounts_expected}
|
||
|
'';
|
||
|
}
|