summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix13
1 files 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 @@
361 361
362 services.smartd = { 362 services.smartd = {
363 enable = true; 363 enable = true;
364 autodetect = true; 364 autodetect = false;
365 defaults.autodetected = "-a -d ata -d nvme"; 365 devices = map (id: { device = "/dev/disk/by-id/" + id; })
366 [ "ata-MKNSSDCR60GB_MK130620AS1032639"
367 "ata-MKNSSDCR60GB_MK130619AS1031770"
368 "ata-WDC_WD20EFRX-68AX9N0_WD-WMC301206808"
369 "ata-WDC_WD20EFRX-68AX9N0_WD-WMC300900004"
370 "ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0FA7MUY"
371 "ata-WDC_WD20EARX-00PASB0_WD-WCAZA8424566"
372 "ata-ST2000VN000-1HJ164_W7201QX1"
373 "nvme-KINGSTON_SKC1000240G_50026B728204C4FC"
374 ];
366 notifications = { 375 notifications = {
367 mail.enable = true; 376 mail.enable = true;
368 wall.enable = true; 377 wall.enable = true;