mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 04:21:08 +01:00
20 lines
530 B
Nix
20 lines
530 B
Nix
{ config, ... }:
|
|
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
config = {
|
|
programs.lieer.enable = true;
|
|
programs.lieer.package = config.lib.test.mkStubPackage { };
|
|
|
|
accounts.email.accounts."hm@example.com" = {
|
|
flavor = "gmail.com";
|
|
lieer.enable = true;
|
|
notmuch.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/Mail/hm@example.com/.gmailieer.json
|
|
assertFileContent home-files/Mail/hm@example.com/.gmailieer.json ${./lieer-expected.json}
|
|
'';
|
|
};
|
|
}
|