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"; };