Monitor only HDDs for SMART failures

This commit is contained in:
coolneng 2021-03-15 14:07:50 +01:00
parent c03e5601ba
commit 54dead3028
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 0 deletions

View File

@ -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";