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