Give up and remove zed mail
This commit is contained in:
parent
51d5b2d5ac
commit
7649050ca6
|
@ -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" ];
|
||||
|
||||
|
|
|
@ -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}";
|
||||
};
|
||||
# }}}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue