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

View file

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

View file

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