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