2016-01-03 05:09:12 +00:00
|
|
|
{ config, lib, ... }:
|
2015-12-29 20:20:36 +00:00
|
|
|
{
|
2016-01-03 05:09:12 +00:00
|
|
|
krebs.exim-retiolum.enable = lib.mkDefault true;
|
2015-12-29 20:20:36 +00:00
|
|
|
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)";
|
|
|
|
|
2016-01-03 05:09:12 +00:00
|
|
|
devices = lib.mkDefault [{
|
2015-12-29 20:20:36 +00:00
|
|
|
device = "/dev/sda";
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
}
|