Zed + SmartD notifications

This commit is contained in:
Aleksandr Lebedev 2025-09-29 08:09:40 +02:00
parent f14a742138
commit 5c6639f0b6
4 changed files with 63 additions and 15 deletions

View file

@ -79,6 +79,28 @@ in {
};
};
services.zfs.zed.settings = {
ZED_DEBUG_LOG = "/tmp/zed.debug.log";
ZED_NTFY_URL = "ntfy.kylekrein.com";
ZED_NTFY_TOPIC = "zed";
ZED_NOTIFY_INTERVAL_SECS = 3600;
ZED_NOTIFY_VERBOSE = true;
ZED_USE_ENCLOSURE_LEDS = true;
ZED_SCRUB_AFTER_RESILVER = true;
};
services.smartd = {
enable = true;
autodetect = true;
notifications.mail = {
enable = true;
recipient = "smartd@localhost.com";
sender = "smartd@smartd.com";
};
};
custom.presets.disko.impermanenceBtrfsLuks = {
enable = true;
swapSize = null;