1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-20 10:09:45 +01:00

email: minor formatting fix

This commit is contained in:
Robert Helgesson 2022-06-20 00:56:57 +02:00
parent ce8266dedc
commit 3d8265c5ef
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -337,17 +337,21 @@ let
name = name; name = name;
maildir = mkOptionDefault { path = "${name}"; }; maildir = mkOptionDefault { path = "${name}"; };
} }
(mkIf (config.flavor == "fastmail.com") { (mkIf (config.flavor == "fastmail.com") {
userName = mkDefault config.address; userName = mkDefault config.address;
smtp = {
host = "smtp.fastmail.com";
port = if config.smtp.tls.useStartTls then 587 else 465;
};
imap = { imap = {
host = "imap.fastmail.com"; host = "imap.fastmail.com";
port = 993; port = 993;
}; };
smtp = {
host = "smtp.fastmail.com";
port = if config.smtp.tls.useStartTls then 587 else 465;
};
}) })
(mkIf (config.flavor == "gmail.com") { (mkIf (config.flavor == "gmail.com") {
userName = mkDefault config.address; userName = mkDefault config.address;