]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/mutt.nix
xsecurelock: add more defaults
[julm/julm-nix.git] / home-manager / profiles / mutt.nix
1 { pkgs, lib, config, ... }:
2 {
3 programs.neomutt = {
4 enable = true;
5 };
6 home.packages = [
7 pkgs.abook
8 #pkgs.mbsync
9 pkgs.notmuch
10 ];
11 home.activation.createMuttDirectories =
12 let mkdir = dir: ''$DRY_RUN_CMD mkdir -p $VERBOSE_ARG "${dir}"''; in
13 lib.hm.dag.entryAfter [ "writeBoundary" ]
14 (lib.concatMapStringsSep "\n" mkdir [
15 "${config.xdg.cacheHome}/mutt/messages"
16 "${config.xdg.cacheHome}/mutt/news"
17 "${config.xdg.cacheHome}/mutt/tmp"
18 ]);
19 }