19 lines
362 B
Nix
19 lines
362 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
services.smartd = {
|
||
|
enable = true;
|
||
|
notifications = {
|
||
|
mail = {
|
||
|
enable = true;
|
||
|
recipient = config.krebs.users.makefu.mail;
|
||
|
};
|
||
|
};
|
||
|
# short daily, long weekly, check on boot
|
||
|
defaults.monitored = "-a -o on -s (S/../.././02|L/../../7/04)";
|
||
|
|
||
|
devices = [{
|
||
|
device = "/dev/sda";
|
||
|
}];
|
||
|
};
|
||
|
}
|