diff options
Diffstat (limited to 'odin.nix')
-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 | ||