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
commitaf477b02992ce67940bb8486c627c06ceec49240 (patch)
tree868e221425537f00df894f13608f377cbd022e9e /mv/2configs/smartd.nix
parent3b44ddc57cf57a86e4db465c87ca4729498252a3 (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 0000000..9c4d8b2
--- /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)"
+ ];
+ }
+ ];
+ };
+}