New email provider

This commit is contained in:
pazpi 2025-08-20 23:42:25 +02:00
parent 0d168690db
commit cf44a579a2
2 changed files with 5 additions and 6 deletions

View file

@ -33,12 +33,11 @@ in
enable = true; enable = true;
envFile = config.age.secrets.authentik-env.path; envFile = config.age.secrets.authentik-env.path;
email = { email = {
host = "smtp.eu.mailgun.org"; host = "smtp.tem.scaleway.com";
port = 587; port = 587;
username = "auth@pazpi.top"; from = "auth@${p.domains.public}";
use_tls = true; use_tls = true;
use_ssl = false; use_ssl = false;
from = "auth@pazpi.top";
}; };
proxy.domain = p.domains.public; proxy.domain = p.domains.public;
}; };

View file

@ -76,10 +76,10 @@ in
ROCKET_ADDRESS = "0.0.0.0"; ROCKET_ADDRESS = "0.0.0.0";
ROCKET_PORT = rocketPort; ROCKET_PORT = rocketPort;
DATABASE_URL = "postgresql:///vaultwarden?host=/run/postgresql"; DATABASE_URL = "postgresql:///vaultwarden?host=/run/postgresql";
SMTP_HOST = "smtp.eu.mailgun.org"; SMTP_HOST = "smtp.tem.scaleway.com";
SMTP_FROM = "vault@pazpi.top"; SMTP_FROM = "vault@${cfg.proxy.domain}";
SMTP_FROM_NAME = "Pasetto's Vault";
SMTP_SECURITY = "starttls"; SMTP_SECURITY = "starttls";
SMTP_USERNAME = "vault@pazpi.top";
}; };
}; };