From bc1c6a195d8c6d28b2c404bb8c9fffca8086b630 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 25 Jan 2024 11:40:50 -0800 Subject: [PATCH] There is no port config clause, attach to hostname. --- lemmy-container.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lemmy-container.nix b/lemmy-container.nix index f794ae0..3f6d9e5 100644 --- a/lemmy-container.nix +++ b/lemmy-container.nix @@ -98,8 +98,7 @@ in { server.package = cfg.server-package; settings = { email = { - smtp_server = cfg.smtp.host; - smtp_port = cfg.smtp.port; + smtp_server = "${cfg.smtp.host}:${cfg.smtp.port}"; smtp_from_address = "noreply@${cfg.hostname}"; }; hostname = cfg.hostname;