Skip to content

Commit aad39fa

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

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
@@ -74,6 +74,14 @@ let
7474
'';
7575
};
7676

77+
notifierSmtpPasswordFile = mkOption {
78+
type = types.nullOr types.path;
79+
default = null;
80+
description = ''
81+
Path to your SMTP password file used to authenticate with the SMTP server.
82+
'';
83+
};
84+
7785
oidcIssuerPrivateKeyFile = mkOption {
7886
type = types.nullOr types.path;
7987
default = null;
@@ -372,6 +380,7 @@ in
372380
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE = instance.secrets.storageEncryptionKeyFile;
373381
AUTHELIA_SESSION_SECRET_FILE = instance.secrets.sessionSecretFile;
374382
AUTHELIA_IDENTITY_PROVIDERS_OIDC_HMAC_SECRET_FILE = instance.secrets.oidcHmacSecretFile;
383+
AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE = instance.secrets.notifierSmtpPasswordFile;
375384
})
376385
// instance.environmentVariables;
377386

0 commit comments

Comments
 (0)