mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
feat: refactored and updated smtp config
This commit is contained in:
parent
1b98c4eff8
commit
c469f48b4e
18 changed files with 79 additions and 105 deletions
|
|
@ -52,7 +52,7 @@ in
|
|||
name = service.name;
|
||||
host = "/run/postgresql";
|
||||
user = service.name;
|
||||
passwordFile = config.sops.secrets.mastodon-database.path;
|
||||
passwordFile = config.sops.secrets."${service.name}-database".path;
|
||||
};
|
||||
extraConfig = {
|
||||
SINGLE_USER_MODE = "true";
|
||||
|
|
@ -105,11 +105,11 @@ in
|
|||
smtp = {
|
||||
authenticate = true;
|
||||
createLocally = false;
|
||||
fromAddress = "upRootNutrition <${service.email.address0}>";
|
||||
fromAddress = "upRootNutrition <${smtp.email.address1}>";
|
||||
host = smtp.hostname;
|
||||
passwordFile = config.sops.secrets.mastodon-smtp.path;
|
||||
port = smtp.ports.port0;
|
||||
user = service.email.address0;
|
||||
passwordFile = config.sops.secrets."${service.name}-smtp".path;
|
||||
port = smtp.ports.port1;
|
||||
user = smtp.email.address1;
|
||||
};
|
||||
};
|
||||
caddy = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue