summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/smart-monitor.nix
blob: daf3aad016aaf100166f6f6f0dc922980bf0c822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, ... }:
{
  krebs.exim-retiolum.enable = lib.mkDefault true;
  services.smartd = {
    enable = true;
    autodetect = false;
    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 = lib.mkDefault [ ];
  };
}