mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-22 18:29:39 +01:00
26 lines
567 B
Nix
26 lines
567 B
Nix
{
|
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
|
|
|
config = {
|
|
accounts.email.accounts = {
|
|
"hm@example.com" = {
|
|
getmail = {
|
|
enable = true;
|
|
mailboxes = [
|
|
"INBOX"
|
|
"Sent"
|
|
"Work"
|
|
];
|
|
destinationCommand = "/bin/maildrop";
|
|
delete = false;
|
|
};
|
|
imap.port = 993;
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.getmail/getmailrc
|
|
assertFileContent home-files/.getmail/getmailrc ${./getmail-expected.conf}
|
|
'';
|
|
};
|
|
}
|