diff options
author | tv <tv@krebsco.de> | 2015-07-27 02:02:34 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-27 02:02:34 +0200 |
commit | 869eeb1dc1d3bfeddf67f882e0853b15e63dceb3 (patch) | |
tree | fa6bf616e54422468ef7f58c290a710b0710b9b9 /tv/configs/smartd.nix | |
parent | b9df7908fc96c6e809c3f22bfca50d8703ce12a1 (diff) |
* tv -> tv *
Diffstat (limited to 'tv/configs/smartd.nix')
-rw-r--r-- | tv/configs/smartd.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tv/configs/smartd.nix b/tv/configs/smartd.nix new file mode 100644 index 0000000..9c4d8b2 --- /dev/null +++ b/tv/configs/smartd.nix @@ -0,0 +1,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)" + ]; + } + ]; + }; +} |