There is no port config clause, attach to hostname.

This commit is contained in:
niten 2024-01-25 11:40:50 -08:00
parent 13ea009fec
commit bc1c6a195d
1 changed files with 1 additions and 2 deletions

View File

@ -98,8 +98,7 @@ in {
server.package = cfg.server-package; server.package = cfg.server-package;
settings = { settings = {
email = { email = {
smtp_server = cfg.smtp.host; smtp_server = "${cfg.smtp.host}:${cfg.smtp.port}";
smtp_port = cfg.smtp.port;
smtp_from_address = "noreply@${cfg.hostname}"; smtp_from_address = "noreply@${cfg.hostname}";
}; };
hostname = cfg.hostname; hostname = cfg.hostname;