diff --git a/systems/zeus/configuration.nix b/systems/zeus/configuration.nix index f3be970..d1a2c45 100644 --- a/systems/zeus/configuration.nix +++ b/systems/zeus/configuration.nix @@ -383,14 +383,16 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; services.zfs.autoScrub.enable = true; -# services.zfs.zed.settings = { -# ZED_EMAIL_ADDR = [ "cdombroski@gmail.com" ]; -# ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp"; -# ZED_EMAIL_OPTS = "@ADDRESS@"; -# ZED_USE_ENCLOSURE_LEDS = true; -# ZED_SCRUB_AFTER_RESILVER = true; -# }; -# services.zfs.zed.enableMail = false; + services.zfs.zed.settings = { + ZED_EMAIL_ADDR = [ "root" ]; + ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp"; + ZED_EMAIL_OPTS = "@ADDRESS@"; + ZED_NOTIFY_INTERVAL_SECS = 3600; + ZED_NOTIFY_VERBOSE = true; + ZED_USE_ENCLOSURE_LEDS = true; + ZED_SCRUB_AFTER_RESILVER = true; + }; + services.zfs.zed.enableMail = false; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ];