From 455c411c7c44819b1451b9c918c2f4468ba195c8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 9 May 2018 10:55:49 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/odin.nix b/odin.nix index d2f2bcd1..9882d921 100644 --- a/odin.nix +++ b/odin.nix @@ -361,8 +361,17 @@ services.smartd = { enable = true; - autodetect = true; - defaults.autodetected = "-a -d ata -d nvme"; + autodetect = false; + devices = map (id: { device = "/dev/disk/by-id/" + id; }) + [ "ata-MKNSSDCR60GB_MK130620AS1032639" + "ata-MKNSSDCR60GB_MK130619AS1031770" + "ata-WDC_WD20EFRX-68AX9N0_WD-WMC301206808" + "ata-WDC_WD20EFRX-68AX9N0_WD-WMC300900004" + "ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0FA7MUY" + "ata-WDC_WD20EARX-00PASB0_WD-WCAZA8424566" + "ata-ST2000VN000-1HJ164_W7201QX1" + "nvme-KINGSTON_SKC1000240G_50026B728204C4FC" + ]; notifications = { mail.enable = true; wall.enable = true; -- cgit v1.2.3