summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-05-09 10:41:22 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-05-09 10:41:22 +0200
commit9dceebe8edd54a7dc5e31b31677c314f8e561a4c (patch)
tree08ccd7b75a84721feb0a58daf4737c4834f6360f
parent88ef7f48053e0e5c70f1754b9d9d39eb7a72d25d (diff)
downloadnixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar
nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar.gz
nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar.bz2
nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar.xz
nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.zip
-rw-r--r--odin.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/odin.nix b/odin.nix
index cced1970..5eee24b6 100644
--- a/odin.nix
+++ b/odin.nix
@@ -362,8 +362,9 @@
362 services.smartd = { 362 services.smartd = {
363 enable = true; 363 enable = true;
364 autodetect = true; 364 autodetect = true;
365 notifications.mail = { 365 notifications = {
366 enable = true; 366 mail.enable = true;
367 wall.enable = true;
367 test = true; 368 test = true;
368 }; 369 };
369 }; 370 };
@@ -372,6 +373,7 @@
372 recipient = "root@odin.asgard.yggdrasil"; 373 recipient = "root@odin.asgard.yggdrasil";
373 onFailure = [ "nixos-upgrade" 374 onFailure = [ "nixos-upgrade"
374 "borgbackup-munin@" "borgbackup-prune-munin" 375 "borgbackup-munin@" "borgbackup-prune-munin"
376 "smartd"
375 ]; 377 ];
376 }; 378 };
377 379