mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 04:09:47 +01:00
30 lines
801 B
Nix
30 lines
801 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
services.lieer.enable = true;
|
|
|
|
accounts.email.accounts = {
|
|
"hm@example.com" = {
|
|
flavor = "gmail.com";
|
|
lieer = {
|
|
enable = true;
|
|
sync.enable = true;
|
|
};
|
|
notmuch.enable = true;
|
|
};
|
|
};
|
|
|
|
test.stubs.lieer = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/lieer-hm-example-com.service
|
|
assertFileExists home-files/.config/systemd/user/lieer-hm-example-com.timer
|
|
|
|
assertFileContent home-files/.config/systemd/user/lieer-hm-example-com.service \
|
|
${./lieer-service-expected.service}
|
|
assertFileContent home-files/.config/systemd/user/lieer-hm-example-com.timer \
|
|
${./lieer-service-expected.timer}
|
|
'';
|
|
}
|