Added mail notifications on failure. Needs more work on lib.nix and the services/*.nix.

This commit is contained in:
Raphaël Numbus
2026-02-23 16:36:40 +01:00
parent f445bd8659
commit 944ffcea85
14 changed files with 460 additions and 147 deletions
+3 -3
View File
@@ -3,11 +3,11 @@
with lib;
let
cfg = config.numbus.services.mail;
cfg = config.numbus.mail;
in
{
options.numbus.services.mail = {
options.numbus.mail = {
enable = mkEnableOption "Email sending functionality";
userAddress = mkOption {
@@ -31,7 +31,7 @@ in
smtpPasswordPath = mkOption {
description = "The path to a file containing the password that will be use to authenticate to the SMTP server";
type = types.path;
example = "/run/secrets/smtp-password";
example = /run/secrets/smtp-password;
};
fromAddress = mkOption {