Skip to content

Commit 836ee82

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nixos/modules/services/security/authelia.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ let
9090
'';
9191
};
9292

93+
notifierSmtpTlsPrivateKeyFile = mkOption {
94+
type = types.nullOr types.path;
95+
default = null;
96+
description = ''
97+
Path to your private key file used for TLS connection verification with the SMTP server.
98+
'';
99+
};
100+
93101
oidcIssuerPrivateKeyFile = mkOption {
94102
type = types.nullOr types.path;
95103
default = null;
@@ -391,6 +399,7 @@ in
391399
AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE = instance.secrets.notifierSmtpPasswordFile;
392400
AUTHELIA_NOTIFIER_SMTP_TLS_CERTIFICATE_CHAIN_FILE =
393401
instance.secrets.notifierSmtpTlsCertificateChainFile;
402+
AUTHELIA_NOTIFIER_SMTP_TLS_PRIVATE_KEY_FILE = instance.secrets.notifierSmtpTlsPrivateKeyFile;
394403
})
395404
// instance.environmentVariables;
396405

0 commit comments

Comments
 (0)