2019-08-21 16:38:52 +09:00
|
|
|
{
|
|
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
|
2025-01-31 21:24:47 +01:00
|
|
|
accounts.email.accounts = {
|
|
|
|
"hm@example.com" = {
|
|
|
|
notmuch.enable = true;
|
|
|
|
alot = {
|
|
|
|
contactCompletion = { };
|
|
|
|
extraConfig = ''
|
|
|
|
auto_remove_unread = True
|
|
|
|
ask_subject = False
|
|
|
|
handle_mouse = True
|
|
|
|
'';
|
2019-08-21 16:38:52 +09:00
|
|
|
};
|
2025-01-31 21:24:47 +01:00
|
|
|
imap.port = 993;
|
2019-08-21 16:38:52 +09:00
|
|
|
};
|
2025-01-31 21:24:47 +01:00
|
|
|
};
|
2019-08-21 16:38:52 +09:00
|
|
|
|
2025-01-31 21:24:47 +01:00
|
|
|
programs.alot = { enable = true; };
|
2019-08-21 16:38:52 +09:00
|
|
|
|
2025-01-31 21:24:47 +01:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/alot/config
|
|
|
|
assertFileContent home-files/.config/alot/config ${./alot-expected.conf}
|
|
|
|
'';
|
2019-08-21 16:38:52 +09:00
|
|
|
}
|
|
|
|
|