frumar: enable smartd with mailer

master
Yorick van Pelt 2023-07-22 12:46:47 +02:00
parent b96139868c
commit 5c58117001
Signed by: yorick
GPG Key ID: D8D3CC6D951384DE
1 changed files with 9 additions and 1 deletions

View File

@ -342,7 +342,15 @@
from = "frumar@yori.cc";
host = "pennyworth.yori.cc";
user = "frumar@yori.cc";
passwordeval = "cat ${config.age.secrets.frumar-mail-pass.path}";
passwordeval = "${pkgs.coreutils}/bin/cat ${config.age.secrets.frumar-mail-pass.path}";
};
};
services.smartd = {
enable = true;
notifications.mail = {
enable = true;
sender = "frumar@yori.cc";
recipient = "yorickvanpelt@gmail.com";
};
};
}