From 8170b281964688b542fb151054c5d86d819008b3 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 28 Jul 2015 20:40:25 +0200 Subject: tv: reintroduce directory numbers --- tv/2configs/smartd.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tv/2configs/smartd.nix (limited to 'tv/2configs/smartd.nix') diff --git a/tv/2configs/smartd.nix b/tv/2configs/smartd.nix new file mode 100644 index 00000000..9c4d8b2d --- /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)" + ]; + } + ]; + }; +} -- cgit v1.2.3