Re-enable work email by default now davmail fixed

Fix notify message from imapnotify, wasn't saying correct account names
This commit is contained in:
Evie Litherland-Smith 2023-10-04 09:53:38 +01:00
parent da196c27a5
commit e69a6df605
3 changed files with 5 additions and 17 deletions

View file

@ -90,7 +90,7 @@
boxes = [ "INBOX" ]; boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull icloud:INBOX"; onNotify = "${pkgs.isync}/bin/mbsync --pull icloud:INBOX";
onNotifyPost = onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'"; "${pkgs.libnotify}/bin/notify-send 'iCloud: New mail arrived'";
extraConfig.wait = 300; extraConfig.wait = 300;
}; };
mbsync = { mbsync = {
@ -107,7 +107,7 @@
ukaea = let ukaea = let
host = "127.0.0.1"; host = "127.0.0.1";
tls.enable = false; tls.enable = false;
accountEnabled = false; accountEnabled = true;
in rec { in rec {
inherit realName; inherit realName;
primary = lib.mkDefault false; primary = lib.mkDefault false;
@ -130,7 +130,7 @@
boxes = [ "INBOX" ]; boxes = [ "INBOX" ];
onNotify = "${pkgs.isync}/bin/mbsync --pull ukaea:INBOX"; onNotify = "${pkgs.isync}/bin/mbsync --pull ukaea:INBOX";
onNotifyPost = onNotifyPost =
"${pkgs.libnotify}/bin/notify-send 'Proton: New mail arrived'"; "${pkgs.libnotify}/bin/notify-send 'UKAEA: New mail arrived'";
extraConfig = { extraConfig = {
wait = 300; wait = 300;
tls = false; tls = false;

View file

@ -11,13 +11,7 @@
accounts = { accounts = {
email.accounts = { email.accounts = {
proton.primary = false; proton.primary = false;
ukaea = { ukaea.primary = true;
primary = true;
imapnotify.enable = true;
mbsync.enable = true;
msmtp.enable = true;
mu.enable = true;
};
}; };
calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed
}; };

View file

@ -11,13 +11,7 @@
accounts = { accounts = {
email.accounts = { email.accounts = {
proton.primary = false; proton.primary = false;
ukaea = { ukaea.primary = true;
primary = true;
imapnotify.enable = true;
mbsync.enable = true;
msmtp.enable = true;
mu.enable = true;
};
}; };
calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed
}; };