mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
feat(mail): run muchsync even when mbsync fails
This commit is contained in:
@@ -57,7 +57,7 @@ in
|
|||||||
environment.NOTMUCH_CONFIG = config.home-manager.users.email.home.sessionVariables.NOTMUCH_CONFIG;
|
environment.NOTMUCH_CONFIG = config.home-manager.users.email.home.sessionVariables.NOTMUCH_CONFIG;
|
||||||
path = [ pkgs.notmuch pkgs.openssh ];
|
path = [ pkgs.notmuch pkgs.openssh ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.isync}/bin/mbsync --all
|
${pkgs.isync}/bin/mbsync --all || true
|
||||||
|
|
||||||
${lib.concatMapStringsSep "\n" (host: ''
|
${lib.concatMapStringsSep "\n" (host: ''
|
||||||
echo === syncing ${host}
|
echo === syncing ${host}
|
||||||
|
|||||||
Reference in New Issue
Block a user