From 54dead3028f6c72051ab2205ad8b26cf4ef77bd1 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 15 Mar 2021 14:07:50 +0100 Subject: [PATCH] Monitor only HDDs for SMART failures --- modules/monitoring.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/monitoring.nix b/modules/monitoring.nix index 06c9cbf..681a772 100644 --- a/modules/monitoring.nix +++ b/modules/monitoring.nix @@ -4,6 +4,8 @@ # Notify when a disk starts going haywire services.smartd = { enable = true; + autodetect = false; + devices = [ { device = "/dev/sda"; } { device = "/dev/sdb"; } ]; notifications.mail = { enable = true; recipient = "akasroua@gmail.com";