From 8e7b5fb971599095800f0681aa2edfc8e4c1a914 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 9 May 2015 12:42:15 +0200 Subject: host wu: enable smartd --- modules/tv/smartd.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/tv/smartd.nix (limited to 'modules/tv') diff --git a/modules/tv/smartd.nix b/modules/tv/smartd.nix new file mode 100644 index 00000000..2e9d955d --- /dev/null +++ b/modules/tv/smartd.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + services.smartd = { + enable = true; + devices = [ + { + device = "DEVICESCAN"; + options = toString [ + "-a" + "-m tv@wu.retiolum" + "-s (O/../.././09|S/../.././04|L/../../6/05)" + ]; + } + ]; + }; +} -- cgit v1.2.3