updated scrub email settings
This commit is contained in:
parent
3f897fae25
commit
7e1e1f357f
2 changed files with 3 additions and 4 deletions
|
@ -42,7 +42,7 @@
|
||||||
host = "smtp.protonmail.ch";
|
host = "smtp.protonmail.ch";
|
||||||
port = 587;
|
port = 587;
|
||||||
to = "leyla@jan-leila.com";
|
to = "leyla@jan-leila.com";
|
||||||
user = "leyla@jan-leila.com";
|
user = "noreply@jan-leila.com";
|
||||||
tokenFile = config.sops.secrets."services/zfs_smtp_token".path;
|
tokenFile = config.sops.secrets."services/zfs_smtp_token".path;
|
||||||
};
|
};
|
||||||
pool = {
|
pool = {
|
||||||
|
|
|
@ -149,14 +149,13 @@ in {
|
||||||
autoSnapshot.enable = true;
|
autoSnapshot.enable = true;
|
||||||
|
|
||||||
zed = lib.mkIf config.host.storage.notifications.enable {
|
zed = lib.mkIf config.host.storage.notifications.enable {
|
||||||
# this option is broken we are just going to disable it
|
enableMail = true;
|
||||||
enableMail = false;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
ZED_DEBUG_LOG = "/tmp/zed.debug.log";
|
ZED_DEBUG_LOG = "/tmp/zed.debug.log";
|
||||||
ZED_EMAIL_ADDR = [config.host.storage.notifications.to];
|
ZED_EMAIL_ADDR = [config.host.storage.notifications.to];
|
||||||
ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp";
|
ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp";
|
||||||
ZED_EMAIL_OPTS = "@ADDRESS@";
|
ZED_EMAIL_OPTS = "-a zfs_notifications @ADDRESS@";
|
||||||
|
|
||||||
ZED_NOTIFY_INTERVAL_SECS = 3600;
|
ZED_NOTIFY_INTERVAL_SECS = 3600;
|
||||||
ZED_NOTIFY_VERBOSE = true;
|
ZED_NOTIFY_VERBOSE = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue