fix vw smtp config
This commit is contained in:
parent
27492ea730
commit
c31744739f
3 changed files with 12 additions and 4 deletions
|
|
@ -27,9 +27,9 @@ in
|
|||
|
||||
SMTP_FROM = "vaultwarden@${domain}";
|
||||
SMTP_FROM_NAME = "${domain} Vaultwarden server";
|
||||
SMTP_HOST = constants.hosts.sid.ip;
|
||||
SMTP_PORT = 587;
|
||||
SMTP_SECURITY = "starttls";
|
||||
SMTP_HOST = constants.services.mailserver.fqdn;
|
||||
SMTP_PORT = 465;
|
||||
SMTP_SECURITY = "force_tls";
|
||||
SMTP_USERNAME = "vaultwarden@${domain}";
|
||||
|
||||
ROCKET_ADDRESS = "127.0.0.1";
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
{ inputs, ... }:
|
||||
{ inputs, constants, ... }:
|
||||
|
||||
let
|
||||
inherit (constants.services.mailserver) subdomain;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.synix.nixosModules.mailserver ];
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
inherit subdomain;
|
||||
stateVersion = 3;
|
||||
accounts = {
|
||||
sid = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue