From 94500f51cdc1bb2b188ae5f143605df40d2514d4 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Tue, 1 Jul 2025 09:51:34 +0100 Subject: [PATCH] Add smartd Signed-off-by: Nikolaos Karaolidis --- hosts/common/configs/system/smartmontools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/common/configs/system/smartmontools/default.nix b/hosts/common/configs/system/smartmontools/default.nix index c4a6464..cb19c22 100644 --- a/hosts/common/configs/system/smartmontools/default.nix +++ b/hosts/common/configs/system/smartmontools/default.nix @@ -4,4 +4,9 @@ smartmontools nvme-cli ]; + + services.smartd = { + enable = true; + defaults.autodetected = "-a -o on -n idle,10 -s (S/../.././02|L/../../7/04)"; + }; }