1 { pkgs, lib, config, ... }:
6 home.activation.createMuttDirectories =
7 let mkdir = dir: ''$DRY_RUN_CMD mkdir -p $VERBOSE_ARG "${dir}"''; in
8 lib.hm.dag.entryAfter [ "writeBoundary" ]
9 (lib.concatMapStringsSep "\n" mkdir [
10 "${config.xdg.cacheHome}/mutt/messages"
11 "${config.xdg.cacheHome}/mutt/news"
12 "${config.xdg.cacheHome}/mutt/tmp"