summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index 21352a7c..cced1970 100644
--- a/odin.nix
+++ b/odin.nix
@@ -359,6 +359,15 @@
359 autoOptimiseStore = true; 359 autoOptimiseStore = true;
360 }; 360 };
361 361
362 services.smartd = {
363 enable = true;
364 autodetect = true;
365 notifications.mail = {
366 enable = true;
367 test = true;
368 };
369 };
370
362 systemd.status-mail = { 371 systemd.status-mail = {
363 recipient = "root@odin.asgard.yggdrasil"; 372 recipient = "root@odin.asgard.yggdrasil";
364 onFailure = [ "nixos-upgrade" 373 onFailure = [ "nixos-upgrade"