diff options
Diffstat (limited to 'profiles/email/notmuch.nix')
| -rw-r--r-- | profiles/email/notmuch.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/profiles/email/notmuch.nix b/profiles/email/notmuch.nix index 3b182c7..e317616 100644 --- a/profiles/email/notmuch.nix +++ b/profiles/email/notmuch.nix @@ -4,19 +4,21 @@ pkgs, ... }: { - programs.notmuch = { + hm = { + programs.notmuch = { enable = true; new = { - tags = ["new"]; - ignore = [".mbsyncstate" ".uidvalidity"]; + tags = ["new"]; + ignore = [".mbsyncstate" ".uidvalidity"]; }; search.excludeTags = ["deleted" "spam"]; maildir.synchronizeFlags = true; extraConfig = { - database.path = "${config.xdg.dataHome}/mail"; + database.path = "${config.hm.xdg.dataHome}/mail"; user.name = "Mike Vink"; user.primary_email = "mike1994vink@gmail.com"; crypto.gpg_path="gpg"; }; + }; }; } |
