zfs mail changes

This commit is contained in:
Lucy Hochkamp 2025-08-14 10:58:38 +02:00
parent 6dd6a4021f
commit 4978d56c8c
No known key found for this signature in database
3 changed files with 27 additions and 30 deletions

View file

@ -129,12 +129,9 @@ in
extraOptions = [ "--interval=7200" ];
notifications.test = true;
};
nixpkgs.overlays = [
(self: super: {
zfs = super.zfs.override { enableMail = true; };
})
];
services.zfs.zed.enableMail = true;
services.zfs.zed.settings = {
ZED_EMAIL_ADDR = [ "root" ];
ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp";

View file

@ -22,7 +22,7 @@
nix = "spool/local/nix";
varlog = "spool/local/journal";
persistent = "spool/safe/persist";
arcSize = 8;
arcSize = 16;
};
services.sanoid.datasets."rpool/content/safe/data/media" = { };