From 88ef7f48053e0e5c70f1754b9d9d39eb7a72d25d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 9 May 2018 10:38:41 +0200 Subject: smartd on odin --- odin.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/odin.nix b/odin.nix index 21352a7c..cced1970 100644 --- a/odin.nix +++ b/odin.nix @@ -359,6 +359,15 @@ autoOptimiseStore = true; }; + services.smartd = { + enable = true; + autodetect = true; + notifications.mail = { + enable = true; + test = true; + }; + }; + systemd.status-mail = { recipient = "root@odin.asgard.yggdrasil"; onFailure = [ "nixos-upgrade" -- cgit v1.2.3