1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-06 16:57:03 +00:00

email: add migadu.com flavor

Migadu is a very friendly and no-fuzz email service that presumably
will be highly valued by HM users.
This commit is contained in:
David Arnold 2025-02-11 23:55:52 +01:00 committed by GitHub
parent f0a31d38e6
commit 83bd3a26ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,6 +247,7 @@ let
"fastmail.com"
"yandex.com"
"outlook.office365.com"
"migadu.com"
];
default = "plain";
description = ''
@ -450,6 +451,20 @@ let
};
})
(mkIf (config.flavor == "migadu.com") {
userName = mkDefault config.address;
imap = {
host = "imap.migadu.com";
port = 993;
};
smtp = {
host = "smtp.migadu.com";
port = 465;
};
})
(mkIf (config.flavor == "gmail.com") {
userName = mkDefault config.address;