From 7649050ca6480aea0de66699b3102ac59b769737 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 12 Feb 2024 17:08:36 +0100 Subject: [PATCH] Give up and remove zed mail --- hosts/nixos/lapetus/filesystems/zfs.nix | 1 - hosts/nixos/lapetus/services/zfs.nix | 20 -------------------- 2 files changed, 21 deletions(-) diff --git a/hosts/nixos/lapetus/filesystems/zfs.nix b/hosts/nixos/lapetus/filesystems/zfs.nix index 7578fb8..d448ef3 100644 --- a/hosts/nixos/lapetus/filesystems/zfs.nix +++ b/hosts/nixos/lapetus/filesystems/zfs.nix @@ -5,7 +5,6 @@ in # Configure ZFS boot.supportedFilesystems = [ "zfs" ]; boot.zfs.extraPools = [ "zroot" ]; - boot.zfs.package = pkgs.zfs.override { inherit (config.services.zfs.zed) enableMail; }; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelParams = [ "nohibernate" ]; diff --git a/hosts/nixos/lapetus/services/zfs.nix b/hosts/nixos/lapetus/services/zfs.nix index 0b7c1e7..0da85e9 100644 --- a/hosts/nixos/lapetus/services/zfs.nix +++ b/hosts/nixos/lapetus/services/zfs.nix @@ -1,19 +1,8 @@ { config, ... }: { - imports = [ ./msmtp.nix ]; - # {{{ Zfs config services.zfs = { trim.enable = true; autoScrub.enable = true; - - zed = { - enableMail = true; - settings = { - ZED_EMAIL_ADDR = [ "colimit@moonythm.dev" ]; - ZED_EMAIL_PROG = "sendmail"; - ZED_EMAIL_OPTS = "-a zed @ADDRESS@"; - }; - }; }; # }}} # {{{ Sanoid config @@ -47,13 +36,4 @@ # }}} }; # }}} - # {{{ Zed email config - # Zed allows using email notifications for events - sops.secrets.zed_smtp_pass.sopsFile = ../secrets.yaml; - programs.msmtp.accounts.zed = { - from = "zed@orbit.moonythm.dev"; - user = "zed@orbit.moonythm.dev"; - passwordeval = "cat ${config.sops.secrets.zed_smtp_pass.path}"; - }; - # }}} }