fix: imapnotify config

This commit is contained in:
Moritz Böhme 2024-12-21 12:42:44 +01:00
parent 0ca1625a75
commit a33f4b8707
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -48,7 +48,7 @@ in
accounts.email.accounts.personal = { accounts.email.accounts.personal = {
imapnotify.enable = true; imapnotify.enable = true;
imapnotify.boxes = [ "Inbox" ]; imapnotify.boxes = [ "Inbox" ];
imapnotify.onNotify = "systemctl start --user mbsync.service"; imapnotify.onNotify = "${lib.getExe' pkgs.systemd "systemctl"} start --user mbsync.service";
primary = true; primary = true;
address = "mail@moritzboeh.me"; address = "mail@moritzboeh.me";
userName = "mail@moritzboeh.me"; userName = "mail@moritzboeh.me";
@ -60,7 +60,7 @@ in
realName = "Moritz Böhme"; realName = "Moritz Böhme";
mbsync.enable = true; mbsync.enable = true;
mbsync.create = "both"; mbsync.create = "both";
passwordCommand = "cat /run/agenix/email"; passwordCommand = "${lib.getExe' pkgs.coreutils "cat"} /run/agenix/email";
}; };
accounts.email.maildirBasePath = "Documents/Mail"; accounts.email.maildirBasePath = "Documents/Mail";
}; };