16 lines
270 B
Nix
16 lines
270 B
Nix
{ pkgs, ... }: {
|
|
services.prometheus.exporters.smartctl = {
|
|
enable = true;
|
|
devices = [ "/dev/sda" ];
|
|
};
|
|
services.smartd = {
|
|
enable = true;
|
|
notifications.wall.enable = true;
|
|
devices = [
|
|
{
|
|
device = "/dev/sda";
|
|
}
|
|
];
|
|
};
|
|
}
|