fix(authelia): enable SMTP notifier
This commit is contained in:
parent
f61b49d9d5
commit
d3f7abf0a5
|
@ -20,6 +20,8 @@ let
|
||||||
}];
|
}];
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
smtpAccount = config.msmtp.accounts.default;
|
||||||
in {
|
in {
|
||||||
age.secrets.authelia-jwt = {
|
age.secrets.authelia-jwt = {
|
||||||
file = ../secrets/authelia/jwt.age;
|
file = ../secrets/authelia/jwt.age;
|
||||||
|
@ -54,7 +56,7 @@ in {
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD_FILE =
|
AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD_FILE =
|
||||||
config.age.secrets.lldap-password.path;
|
config.age.secrets.lldap-password.path;
|
||||||
# AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE = config.age.secrets.smtp.path;
|
AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE = config.age.secrets.smtp.path;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
theme = "dark";
|
theme = "dark";
|
||||||
|
@ -113,14 +115,12 @@ in {
|
||||||
# password not used since it uses peer auth
|
# password not used since it uses peer auth
|
||||||
password = "dummy";
|
password = "dummy";
|
||||||
};
|
};
|
||||||
# TODO set up notifier
|
# notifier.filesystem.filename = "/var/lib/authelia-main/notifications.log";
|
||||||
notifier.filesystem.filename = "/var/lib/authelia-main/notifications.log";
|
notifier.smtp = {
|
||||||
# notifier.smtp = rec {
|
inherit (smtpAccount) host port;
|
||||||
# username = "felschr@web.de";
|
username = smtpAccount.user;
|
||||||
# sender = username;
|
sender = smtpAccount.from;
|
||||||
# host = "smtp.web.de";
|
};
|
||||||
# port = 587;
|
|
||||||
# };
|
|
||||||
identity_providers.oidc.clients = [
|
identity_providers.oidc.clients = [
|
||||||
{
|
{
|
||||||
id = "miniflux";
|
id = "miniflux";
|
||||||
|
|
Loading…
Reference in a new issue