Moved smart nix config

This commit is contained in:
Raphaël Numbus
2026-01-02 22:30:09 +01:00
parent 1b30a2c8a3
commit f14d332d7f
3 changed files with 21 additions and 21 deletions
-20
View File
@@ -49,24 +49,4 @@ in
};
};
### Mail notifications configuration <--
### --> SMART disk heath
services.smartd = {
enable = true;
defaults.autodetected = "-a -o on -S on -s (S/../.././00|L/../../6/01) -n standby,q";
notifications = {
wall = {
enable = true;
};
mail = {
enable = true;
sender = config.email.fromAddress;
recipient = config.email.toAddress;
};
};
};
### SMART disk heath <--
}
+19
View File
@@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
### --> SMART disk heath
services.smartd = {
enable = true;
defaults.autodetected = "-a -o on -S on -s (S/../.././00|L/../../6/01) -n standby,q";
notifications = {
wall = {
enable = true;
};
mail = {
enable = true;
sender = config.email.fromAddress;
recipient = config.email.toAddress;
};
};
};
### SMART disk heath <--
}