summaryrefslogtreecommitdiffstats
path: root/mv/2configs/smartd.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-11-17 19:04:32 +0100
committertv <tv@krebsco.de>2015-11-17 19:04:32 +0100
commitdba0db28d96978d51284512c6b57a48fbfa9f492 (patch)
tree4e883dbffb5325f1f54d10f840961676aff64639 /mv/2configs/smartd.nix
parentebba531273715c1a9c124007b97f3547d16e780f (diff)
mv: init
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)"
+ ];
+ }
+ ];
+ };
+}