From 43f4b2781dc5a63e68d6129a5854f40b66c935b2 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 12 Feb 2024 16:47:38 +0100 Subject: [PATCH] Configure zed --- hosts/nixos/lapetus/services/msmtp.nix | 1 + hosts/nixos/lapetus/services/zfs.nix | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/msmtp.nix b/hosts/nixos/lapetus/services/msmtp.nix index a5aa0b7..42567d6 100644 --- a/hosts/nixos/lapetus/services/msmtp.nix +++ b/hosts/nixos/lapetus/services/msmtp.nix @@ -6,6 +6,7 @@ defaults = { auth = true; tls = true; + tls_starttls = false; host = "smtp.migadu.com"; port = 465; }; diff --git a/hosts/nixos/lapetus/services/zfs.nix b/hosts/nixos/lapetus/services/zfs.nix index 619d446..0b7c1e7 100644 --- a/hosts/nixos/lapetus/services/zfs.nix +++ b/hosts/nixos/lapetus/services/zfs.nix @@ -6,7 +6,14 @@ trim.enable = true; autoScrub.enable = true; - # zed.enableMail = true; + zed = { + enableMail = true; + settings = { + ZED_EMAIL_ADDR = [ "colimit@moonythm.dev" ]; + ZED_EMAIL_PROG = "sendmail"; + ZED_EMAIL_OPTS = "-a zed @ADDRESS@"; + }; + }; }; # }}} # {{{ Sanoid config