diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-05-09 10:41:22 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-05-09 10:41:22 +0200 |
commit | 9dceebe8edd54a7dc5e31b31677c314f8e561a4c (patch) | |
tree | 08ccd7b75a84721feb0a58daf4737c4834f6360f | |
parent | 88ef7f48053e0e5c70f1754b9d9d39eb7a72d25d (diff) | |
download | nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar.gz nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar.bz2 nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.tar.xz nixos-9dceebe8edd54a7dc5e31b31677c314f8e561a4c.zip |
…
-rw-r--r-- | odin.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 | ||