mail and username config

This commit is contained in:
Noah Masur
2025-02-16 10:48:31 -05:00
parent 617fc6cce2
commit b36895f108
5 changed files with 21 additions and 12 deletions

View File

@ -40,10 +40,10 @@ in
# Create an email notification service for failed jobs
systemd.services."notify-email@" =
let
address = "system@${config.mail.server}";
address = "system@${config.nmasur.presets.programs.msmtp.domain}";
in
{
enable = config.mail.enable;
enable = config.nmasur.presets.programs.msmtp.enable;
environment.SERVICE_ID = "%i";
script = ''
TEMPFILE=$(mktemp)