summaryrefslogtreecommitdiffstats
path: root/usecases/server/smartd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'usecases/server/smartd.nix')
-rw-r--r--usecases/server/smartd.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/usecases/server/smartd.nix b/usecases/server/smartd.nix
new file mode 100644
index 0000000..d9f4c68
--- /dev/null
+++ b/usecases/server/smartd.nix
@@ -0,0 +1,16 @@
1inputs:
2
3{ lib, ... }:
4
5{
6 services.smartd = {
7 enable = lib.mkDefault true;
8
9 # Turns on SMART Automatic Offline Testing on startup, and schedules short
10 # self-tests daily, and long self-tests weekly
11 defaults.monitored = "-a -o on -s (S/../.././02|L/../../7/04)";
12
13 # TODO: setup mailing of SMART failures
14 #notifications.mail.recipient = "minijackson@huh.gdn";
15 };
16}