commit 280dafc0070f9ce00a2822054beaa98f272dda5f parent 076d571b3d787eebcae36a9552480dc1c2d423ec Author: Vincent Demeester <vincent@sbr.pm> Date: Sat, 23 Feb 2019 11:26:01 +0100 mails: fix mbsync pre/post exec Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | modules/profiles/mails.nix | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix @@ -67,8 +67,8 @@ in }; services.mbsync = { enable = true; - preExec = "${pkgs.coreutils}/bin/mkdir -p ~/desktop/mails/redhat ~/desktop/mails/perso"; - #postExec = "${pkgs.mu}/bin/mu index"; + preExec = "${pkgs.coreutils}/bin/mkdir -p /home/vincent/desktop/mails/redhat /home/vincent/desktop/mails/perso"; + postExec = "env NOTMUCH_CONFIG=/home/vincent/.config/notmuch/notmuchrc NMBGIT=/home/vincent/.local/share/notmuch/nmbug ${pkgs.notmuch}/bin/notmuch new"; }; programs.astroid = { enable = true;