diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-05-09 10:55:49 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-05-09 10:55:49 +0200 |
commit | 455c411c7c44819b1451b9c918c2f4468ba195c8 (patch) | |
tree | c21fa3cc3191012b57577f6ddd529ee375b91166 | |
parent | df26233faebebe65cfb4e00553fc4138e28f5a47 (diff) | |
download | nixos-455c411c7c44819b1451b9c918c2f4468ba195c8.tar nixos-455c411c7c44819b1451b9c918c2f4468ba195c8.tar.gz nixos-455c411c7c44819b1451b9c918c2f4468ba195c8.tar.bz2 nixos-455c411c7c44819b1451b9c918c2f4468ba195c8.tar.xz nixos-455c411c7c44819b1451b9c918c2f4468ba195c8.zip |
…
-rw-r--r-- | odin.nix | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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; |