cfcd52ff70
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
25 lines
569 B
Nix
25 lines
569 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
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
|
|
}
|
|
'';
|
|
};
|
|
}
|