Update authelia.nix

Fixes #603
This commit is contained in:
Piotr Gaczkowski 2025-12-22 00:08:56 +01:00 committed by Pierre Penninckx
parent 32879c36b4
commit 0be059ffcc

View file

@ -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}";