From a33f4b870755e8bd4be6cbe48e060a9ad6254a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 21 Dec 2024 12:42:44 +0100 Subject: [PATCH] fix: imapnotify config --- modules/profiles/personal_mail.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/profiles/personal_mail.nix b/modules/profiles/personal_mail.nix index 9f80231..2aa559c 100644 --- a/modules/profiles/personal_mail.nix +++ b/modules/profiles/personal_mail.nix @@ -48,7 +48,7 @@ in accounts.email.accounts.personal = { imapnotify.enable = true; imapnotify.boxes = [ "Inbox" ]; - imapnotify.onNotify = "systemctl start --user mbsync.service"; + imapnotify.onNotify = "${lib.getExe' pkgs.systemd "systemctl"} start --user mbsync.service"; primary = true; address = "mail@moritzboeh.me"; userName = "mail@moritzboeh.me"; @@ -60,7 +60,7 @@ in realName = "Moritz Böhme"; mbsync.enable = true; mbsync.create = "both"; - passwordCommand = "cat /run/agenix/email"; + passwordCommand = "${lib.getExe' pkgs.coreutils "cat"} /run/agenix/email"; }; accounts.email.maildirBasePath = "Documents/Mail"; };