summaryrefslogtreecommitdiffstats
path: root/configs/smartd.nix
blob: 9c4d8b2d8246b2207697ea3b048e71c473c181bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, pkgs, ... }:

{
  services.smartd = {
    enable = true;
    devices = [
      {
        device = "DEVICESCAN";
        options = toString [
          "-a"
          "-m ${config.krebs.users.tv.mail}"
          "-s (O/../.././09|S/../.././04|L/../../6/05)"
        ];
      }
    ];
  };
}