2025-04-20 19:50:11 +02:00
|
|
|
{ config, ... }:
|
|
|
|
|
{
|
2024-12-19 18:23:38 +01:00
|
|
|
services.scrutiny = {
|
|
|
|
|
enable = true;
|
|
|
|
|
collector.enable = true;
|
|
|
|
|
settings.web.listen.port = 8181;
|
|
|
|
|
settings.notify.urls = [
|
2025-04-20 19:50:11 +02:00
|
|
|
# "ntfy://${config.liv.variables.ntfyURL}/${config.networking.hostName}"
|
|
|
|
|
"ntfy://notify.liv.town/${config.networking.hostName}"
|
2024-12-19 18:23:38 +01:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2025-04-24 10:58:12 +02:00
|
|
|
services.smartd = {
|
|
|
|
|
enable = true;
|
|
|
|
|
autodetect = true;
|
|
|
|
|
notifications = {
|
|
|
|
|
mail = {
|
|
|
|
|
enable = true;
|
|
|
|
|
# mailer = "/path/to/mailer/binary";
|
|
|
|
|
sender = "${config.liv.variables.fromEmail}";
|
|
|
|
|
recipient = "${config.liv.variables.toEmail}";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2025-03-22 23:02:00 +01:00
|
|
|
# services.nginx.virtualHosts."" = {
|
|
|
|
|
# locations."/" = {
|
|
|
|
|
# proxyPass = "http://localhost:8181/";
|
|
|
|
|
# };
|
|
|
|
|
# };
|
2024-12-19 18:23:38 +01:00
|
|
|
}
|