summaryrefslogtreecommitdiff
path: root/profiles/email/notmuch.nix
blob: 304e573b02e9f3e3f3557d17be34961b42ea4b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  config,
  ...
}: {
  hm = {
    programs.notmuch = {
      enable = true;
      new = {
        tags = ["new"];
        ignore = [".mbsyncstate" ".uidvalidity"];
      };
      search.excludeTags = ["deleted" "spam"];
      maildir.synchronizeFlags = true;
      extraConfig = {
        database.path = "${config.hm.xdg.dataHome}/mail";
        user.name = "Mike Vink";
        user.primary_email = "mike1994vink@gmail.com";
        crypto.gpg_path="gpg";
      };
    };
  };
}