diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-07 01:33:26 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-07 01:33:26 +0200 |
| commit | a2cbf737e78051c2cb10eeaf4a5dccc19d6348ba (patch) | |
| tree | f53ab92a0c94926e92117891eb87f19cafaa536c /profiles/email/notmuch.nix | |
| parent | cfaef26e8718916adcc68fbfb63b15f2389b2cd2 (diff) | |
first working
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"; }; + }; }; } |
