diff --git a/modules/blocks/authelia.nix b/modules/blocks/authelia.nix index ce6ff98..2165a81 100644 --- a/modules/blocks/authelia.nix +++ b/modules/blocks/authelia.nix @@ -485,8 +485,7 @@ in filename = cfg.smtp; }; smtp = lib.mkIf (!(builtins.isString cfg.smtp)) { - host = cfg.smtp.host; - port = cfg.smtp.port; + address = "smtp://${cfg.smtp.host}:${toString cfg.smtp.port}"; username = cfg.smtp.username; sender = "${cfg.smtp.from_name} <${cfg.smtp.from_address}>"; subject = "[Authelia] {title}";