mirror of
https://github.com/nix-community/home-manager
synced 2024-12-18 15:59:48 +01:00
e4e639dd4d
The gmailieer attribute was aliased to lieer in nixpkgs.
34 lines
889 B
Nix
34 lines
889 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
config = {
|
|
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}
|
|
'';
|
|
};
|
|
}
|