Enable zfs zed
This commit is contained in:
parent
e89620677a
commit
b0117456b1
1 changed files with 10 additions and 8 deletions
|
@ -383,14 +383,16 @@
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
# services.zfs.zed.settings = {
|
services.zfs.zed.settings = {
|
||||||
# ZED_EMAIL_ADDR = [ "cdombroski@gmail.com" ];
|
ZED_EMAIL_ADDR = [ "root" ];
|
||||||
# ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp";
|
ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp";
|
||||||
# ZED_EMAIL_OPTS = "@ADDRESS@";
|
ZED_EMAIL_OPTS = "@ADDRESS@";
|
||||||
# ZED_USE_ENCLOSURE_LEDS = true;
|
ZED_NOTIFY_INTERVAL_SECS = 3600;
|
||||||
# ZED_SCRUB_AFTER_RESILVER = true;
|
ZED_NOTIFY_VERBOSE = true;
|
||||||
# };
|
ZED_USE_ENCLOSURE_LEDS = true;
|
||||||
# services.zfs.zed.enableMail = false;
|
ZED_SCRUB_AFTER_RESILVER = true;
|
||||||
|
};
|
||||||
|
services.zfs.zed.enableMail = false;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
|
|
Loading…
Reference in a new issue