Add vars to mail.nix and fix disk details source

This commit is contained in:
Raphaël Numbus
2026-01-02 22:25:50 +01:00
parent 856db3aceb
commit 1b30a2c8a3
2 changed files with 10 additions and 9 deletions
+4 -4
View File
@@ -11,22 +11,22 @@ in
fromAddress = lib.mkOption {
description = "The 'from' address";
type = lib.types.str;
default = "no-reply@${DOMAIN_NAME}";
default = "no-reply@DOMAIN_NAME";
};
toAddress = lib.mkOption {
description = "The 'to' address";
type = lib.types.str;
default = "${EMAIL_ADDRESS}";
default = "EMAIL_ADDRESS";
};
smtpServer = lib.mkOption {
description = "The SMTP server address";
type = lib.types.str;
default = "${SENDER_EMAIL_DOMAIN}";
default = "SENDER_EMAIL_DOMAIN";
};
smtpUsername = lib.mkOption {
description = "The SMTP username";
type = lib.types.str;
default = "${SENDER_EMAIL_ADDRESS}";
default = "SENDER_EMAIL_ADDRESS";
};
smtpPasswordPath = lib.mkOption {
description = "Path to the secret containing SMTP password";