diff options
author | tv <tv@shackspace.de> | 2015-07-28 20:40:25 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-28 20:40:25 +0200 |
commit | 8170b281964688b542fb151054c5d86d819008b3 (patch) | |
tree | a37b713c7662dbaef73508bca889c83c7dc5a620 /tv/2configs/smartd.nix | |
parent | a7ff77b6c147be71d60bda7e73c65286ecfb7c83 (diff) |
tv: reintroduce directory numbers
Diffstat (limited to 'tv/2configs/smartd.nix')
-rw-r--r-- | tv/2configs/smartd.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tv/2configs/smartd.nix b/tv/2configs/smartd.nix new file mode 100644 index 000000000..9c4d8b2d8 --- /dev/null +++ b/tv/2configs/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)" + ]; + } + ]; + }; +} |