2024-02-29 08:35:16 +01:00
|
|
|
{
|
|
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
|
2025-01-31 21:24:47 +01:00
|
|
|
accounts.email.accounts = {
|
|
|
|
"hm@example.com" = {
|
|
|
|
msmtp.enable = true;
|
|
|
|
neomutt.enable = true;
|
|
|
|
imap.port = 993;
|
2024-02-29 08:35:16 +01:00
|
|
|
};
|
2025-01-31 21:24:47 +01:00
|
|
|
};
|
2024-02-29 08:35:16 +01:00
|
|
|
|
2025-01-31 21:24:47 +01:00
|
|
|
programs.neomutt.enable = true;
|
|
|
|
programs.neomutt.unmailboxes = true;
|
2024-02-29 08:35:16 +01:00
|
|
|
|
2025-01-31 21:24:47 +01:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/neomutt/hm@example.com
|
|
|
|
assertFileContent home-files/.config/neomutt/hm@example.com ${
|
|
|
|
./hm-example.com-unmailboxes-expected.conf
|
|
|
|
}
|
|
|
|
'';
|
2024-02-29 08:35:16 +01:00
|
|
|
}
|
|
|
|
|