vaultwarden: more email setting

This commit is contained in:
Payas Relekar 2023-06-05 22:04:22 +05:30
parent 890f07de9e
commit 02c6dafa4d
3 changed files with 3 additions and 1 deletions

View file

@ -14,4 +14,5 @@ in
"minio_secret_key.age".publicKeys = [ ageKey ];
"tunnel_bebop.json.age".publicKeys = [ ageKey ];
"vaultwarden.age".publicKeys = [ ageKey ];
"vaultwarden_smtp.age".publicKeys = [ ageKey ];
}

Binary file not shown.

View file

@ -19,7 +19,7 @@ in
ROCKET_LOG = "critical";
USE_SENDMAIL = true;
SENDMAIL_COMMAND = "${pkgs.msmtp}/bin/msmtp";
SENDMAIL_COMMAND = "${pkgs.msmtp}/bin/msmtp --file=/run/agenix/vaultwarden_smtp";
SMTP_HOST = "smtp.gmail.com";
SMTP_PORT = 587;
SMTP_SECURITY = "starttls";
@ -53,5 +53,6 @@ in
systemd.tmpfiles.rules = [
"f ${cfg.environmentFile} 0600 ${cfgUser} ${cfgUser} -"
"f ${cfg.environmentFile}_smtp 0600 ${cfgUser} ${cfgUser} -"
];
}