diff options
author | tv <tv@krebsco.de> | 2015-05-09 12:42:15 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-05-19 23:17:19 +0200 |
commit | c9db8a13d64fbaf2076bf64c1dc59adb4ada4cff (patch) | |
tree | 3dc4dfa42ade73933018480aa9c8caa51f1368f4 | |
parent | 7863133d866500f9f59303ed7a28b51e6a832952 (diff) |
host wu: enable smartd
-rw-r--r-- | modules/tv/smartd.nix | 17 | ||||
-rw-r--r-- | modules/wu/default.nix | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/modules/tv/smartd.nix b/modules/tv/smartd.nix new file mode 100644 index 0000000..2e9d955 --- /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)" + ]; + } + ]; + }; +} diff --git a/modules/wu/default.nix b/modules/wu/default.nix index 260e828..0fe84dd 100644 --- a/modules/wu/default.nix +++ b/modules/wu/default.nix @@ -15,6 +15,7 @@ in ../tv/nginx.nix ../tv/retiolum.nix ../tv/sanitize.nix + ../tv/smartd.nix ../tv/synaptics.nix #../tv/tools.nix ../tv/urxvt.nix |