mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 21:42:16 -06:00
test: smtp with firefly-iii
This commit is contained in:
parent
126b6d5b35
commit
0c063e0308
3 changed files with 18 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{ flake, config, ... }:
|
||||
let
|
||||
inherit (flake.config.services.instances) firefly-iii;
|
||||
inherit (flake.config.services.instances) firefly-iii smtp;
|
||||
inherit (flake.config.people) user0;
|
||||
inherit (flake.config.people.users.${user0}) email;
|
||||
inherit (flake.config.machines.devices) ceres;
|
||||
host = service.domains.url0;
|
||||
service = firefly-iii;
|
||||
|
|
@ -24,6 +26,14 @@ in
|
|||
APP_URL = "https://${host}";
|
||||
APP_KEY_FILE = config.sops.secrets."${service.name}-pass".path;
|
||||
DB_PASSWORD_FILE = config.sops.secrets."${service.name}-data".path;
|
||||
MAIL_MAILER = "log";
|
||||
MAIL_HOST = smtp.hostname;
|
||||
MAIL_PORT = 2525;
|
||||
MAIL_FROM = service.email.address0;
|
||||
MAIL_USERNAME = service.email.address0;
|
||||
MAIL_PASSWORD = config.sops.secrets."${service.name}-smtp".path;
|
||||
MAIL_ENCRYPTION = null;
|
||||
SITE_OWNER = email.address2;
|
||||
};
|
||||
};
|
||||
firefly-iii-data-importer = {
|
||||
|
|
@ -62,6 +72,7 @@ in
|
|||
[
|
||||
"pass"
|
||||
"data"
|
||||
"smtp"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue