summaryrefslogtreecommitdiffstats
path: root/modules/tv/smartd.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-05-09 12:42:15 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:19 +0200
commit8e7b5fb971599095800f0681aa2edfc8e4c1a914 (patch)
tree3dc4dfa42ade73933018480aa9c8caa51f1368f4 /modules/tv/smartd.nix
parent9b33995e2943636ac5a8f8d7481e7f88554644cb (diff)
host wu: enable smartd
Diffstat (limited to 'modules/tv/smartd.nix')
-rw-r--r--modules/tv/smartd.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/tv/smartd.nix b/modules/tv/smartd.nix
new file mode 100644
index 000000000..2e9d955d1
--- /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)"
+ ];
+ }
+ ];
+ };
+}