Skip to content

Commit 446d6af

Browse files
committed
nixos/authelia: add notifierSmtpTlsCertificateChainFile
This environment variable is referenced here: https://www.authelia.com/configuration/methods/secrets/
1 parent aad39fa commit 446d6af

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nixos/modules/services/security/authelia.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ let
8282
'';
8383
};
8484

85+
notifierSmtpTlsCertificateChainFile = mkOption {
86+
type = types.nullOr types.path;
87+
default = null;
88+
description = ''
89+
Path to your certificate chain file used for TLS connection verification with the SMTP server.
90+
'';
91+
};
92+
8593
oidcIssuerPrivateKeyFile = mkOption {
8694
type = types.nullOr types.path;
8795
default = null;
@@ -381,6 +389,8 @@ in
381389
AUTHELIA_SESSION_SECRET_FILE = instance.secrets.sessionSecretFile;
382390
AUTHELIA_IDENTITY_PROVIDERS_OIDC_HMAC_SECRET_FILE = instance.secrets.oidcHmacSecretFile;
383391
AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE = instance.secrets.notifierSmtpPasswordFile;
392+
AUTHELIA_NOTIFIER_SMTP_TLS_CERTIFICATE_CHAIN_FILE =
393+
instance.secrets.notifierSmtpTlsCertificateChainFile;
384394
})
385395
// instance.environmentVariables;
386396

0 commit comments

Comments
 (0)