summaryrefslogtreecommitdiffstats
path: root/lass/2configs/smartd.nix
blob: 859812bedcf14257987a37a3c5e7c314673b358a (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.lass.mail}"
          "-s (O/../.././09|S/../.././04|L/../../6/05)"
        ];
      }
    ];
  };
}