summaryrefslogtreecommitdiffstats
path: root/tv/configs/smartd.nix
diff options
context:
space:
mode:
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 000000000..9c4d8b2d8
--- /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)"
+ ];
+ }
+ ];
+ };
+}