summaryrefslogtreecommitdiffstats
path: root/tv/configs/smartd.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-27 02:02:34 +0200
committertv <tv@krebsco.de>2015-07-27 02:02:34 +0200
commit869eeb1dc1d3bfeddf67f882e0853b15e63dceb3 (patch)
treefa6bf616e54422468ef7f58c290a710b0710b9b9 /tv/configs/smartd.nix
parentb9df7908fc96c6e809c3f22bfca50d8703ce12a1 (diff)
* tv -> tv *
Diffstat (limited to 'tv/configs/smartd.nix')
-rw-r--r--tv/configs/smartd.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/tv/configs/smartd.nix b/tv/configs/smartd.nix
new file mode 100644
index 0000000..9c4d8b2
--- /dev/null
+++ b/tv/configs/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)"
+ ];
+ }
+ ];
+ };
+}