75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
28 lines
615 B
Nix
28 lines
615 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
accounts.email.accounts = {
|
|
"hm@example.com" = {
|
|
imap.port = 993;
|
|
smtp.port = 465;
|
|
himalaya.enable = true;
|
|
himalaya.backend = test.asserts.warnings.expected;
|
|
himalaya.sender = test.asserts.warnings.expected;
|
|
};
|
|
};
|
|
|
|
programs.himalaya = { enable = true; };
|
|
|
|
test.stubs.himalaya = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/himalaya/config.toml
|
|
assertFileContent home-files/.config/himalaya/config.toml ${
|
|
./basic-expected.toml
|
|
}
|
|
'';
|
|
}
|