]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/mutt.nix
tmux: enable socket activation
[julm/julm-nix.git] / home-manager / profiles / mutt.nix
1 { pkgs, lib, config, ... }:
2 {
3 home.packages = [
4 pkgs.neomutt
5 ];
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"
13 ]);
14 }