This repository has been archived on 2024-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/hosts/lime/services/monitoring/exporters/smartctl.nix

19 lines
297 B
Nix
Raw Normal View History

2024-05-29 17:15:20 +02:00
{ pkgs, ... }: {
services.prometheus.exporters.smartctl = {
enable = true;
openFirewall = true;
devices = [ "/dev/sda" ];
};
services.smartd = {
enable = true;
notifications.wall.enable = true;
devices = [
{
device = "/dev/sda";
}
];
};
}