summaryrefslogtreecommitdiffstats
path: root/mv/2configs/smartd.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-17 23:14:28 +0100
committermakefu <github@syntax-fehler.de>2015-11-17 23:14:28 +0100
commit84743dcd4ab912721841d7431e02a4b40edd95a1 (patch)
tree19d0200fb7b3f60861eb08dc1243bc49d4411c7d /mv/2configs/smartd.nix
parente4c46c2ec22613830c5839001550f5fa155e260d (diff)
parentdba0db28d96978d51284512c6b57a48fbfa9f492 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'mv/2configs/smartd.nix')
-rw-r--r--mv/2configs/smartd.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/mv/2configs/smartd.nix b/mv/2configs/smartd.nix
new file mode 100644
index 000000000..9c4d8b2d8
--- /dev/null
+++ b/mv/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)"
+ ];
+ }
+ ];
+ };
+}