From 6e624127ea0288cdf01490b109f19446502034e3 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 3 Sep 2023 19:36:59 +0200 Subject: [PATCH] add smtp to authelia --- .../web-01.cloonar.com/modules/authelia/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/web-01.cloonar.com/modules/authelia/default.nix b/hosts/web-01.cloonar.com/modules/authelia/default.nix index b8cb58f..e1166df 100644 --- a/hosts/web-01.cloonar.com/modules/authelia/default.nix +++ b/hosts/web-01.cloonar.com/modules/authelia/default.nix @@ -41,7 +41,7 @@ }; environmentVariables = { "AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD_FILE" = config.sops.secrets.authelia-backend-ldap-password.path; - + "AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE" = config.sops.secrets.authelia-backend-ldap-password.path; }; settings = { theme = "dark"; @@ -140,8 +140,14 @@ notifier = { disable_startup_check = false; - filesystem = { - filename = "/var/lib/authelia-main/notification.txt"; + # filesystem = { + # filename = "/var/lib/authelia-main/notification.txt"; + # }; + smtp = { + host = "mail.cloonar.com"; + port = 25; + username = "authelia@cloonar.com"; + sender = "Authelia "; }; }; identity_providers = {