2023-05-04 10:28:08 +00:00
|
|
|
{ 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;
|
2023-06-21 08:59:29 +00:00
|
|
|
himalaya.backend = test.asserts.warnings.expected;
|
|
|
|
himalaya.sender = test.asserts.warnings.expected;
|
2023-05-04 10:28:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
}
|