]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/mutt.nix
tio: install in case it's better than picocom
[julm/julm-nix.git] / home-manager / profiles / mutt.nix
1 { pkgs, lib, config, ... }:
2 {
3 home.packages = [
4 pkgs.abook
5 #pkgs.mbsync
6 pkgs.neomutt
7 pkgs.notmuch
8 ];
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"
16 ]);
17 }