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