vaultwarden: more email setting
This commit is contained in:
parent
890f07de9e
commit
02c6dafa4d
3 changed files with 3 additions and 1 deletions
|
@ -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 ];
|
||||
}
|
||||
|
|
BIN
hosts/hermes/secrets/vaultwarden_smtp.age
Normal file
BIN
hosts/hermes/secrets/vaultwarden_smtp.age
Normal file
Binary file not shown.
|
@ -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} -"
|
||||
];
|
||||
}
|
||||
|
|
Reference in a new issue