thrall: Configure smtp for Gitea

This commit is contained in:
Alexander Kobjolke 2023-04-07 01:07:48 +02:00
parent d0e012e79b
commit 91547ac4b6

View file

@ -206,7 +206,18 @@ in {
httpAddress = "127.0.0.1";
httpPort = 3001;
settings.service.DISABLE_REGISTRATION = true;
settings = {
service.DISABLE_REGISTRATION = true;
mailer = {
ENABLED = true;
MAILER_TYPE = "smtp";
FROM = "git@failco.de";
HOST = "thrall.failco.de:25";
IS_TLS_ENABLED = false;
SENDMAIL_PATH = "/run/wrappers/bin/sendmail";
};
};
};
services.fail2ban = {