diff options
| -rw-r--r-- | odin.nix | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -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" |
