From b1fb537ef7207fb7c9d79d93f6ec02da4dee7ff1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Sep 2021 22:37:50 +0200 Subject: feeds: maildir directories --- user-profiles/feeds/module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user-profiles/feeds/module.nix b/user-profiles/feeds/module.nix index cec0ffcb..cf8ee99c 100644 --- a/user-profiles/feeds/module.nix +++ b/user-profiles/feeds/module.nix @@ -100,7 +100,8 @@ in { '' + toIni notmuchIni; home.activation.createFeedsDatabase = hm.dag.entryAfter ["linkGeneration" "writeBoundary"] '' - $DRY_RUN_CMD mkdir -p $VERBOSE_ARG ${databasePath} + $DRY_RUN_CMD mkdir -p -m 0750 $VERBOSE_ARG ${databasePath} + $DRY_RUN_CMD mkdir -p $VERBOSE_ARG ${databasePath}/new ${databasePath}/cur ${databasePath}/tmp if ! [[ -d ${databasePath}/.notmuch ]]; then NOTMUCH_VERBOSE_ARG="--quiet" if [[ -v VERBOSE ]]; then -- cgit v1.2.3