From 83bd3a26ac0526ae04fa74df46738bb44b89dcdd Mon Sep 17 00:00:00 2001 From: David Arnold Date: Tue, 11 Feb 2025 23:55:52 +0100 Subject: [PATCH] email: add migadu.com flavor Migadu is a very friendly and no-fuzz email service that presumably will be highly valued by HM users. --- modules/accounts/email.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/accounts/email.nix b/modules/accounts/email.nix index f3996195d..e8cc708ed 100644 --- a/modules/accounts/email.nix +++ b/modules/accounts/email.nix @@ -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;