This repository has no description
975 B
38 lines
1{ inputs, ... }:
2{
3 perSystem =
4 {
5 lib,
6 pkgs,
7 ...
8 }:
9 {
10 packages.notmuch =
11 let
12 notmuchConfig = inputs.wrappers.wrapperModules.notmuch.apply {
13 pkgs = pkgs;
14 settings = {
15 database = {
16 path = "Maildir";
17 mail_root = "Maildir";
18 };
19 new.tags = "unread;inbox;";
20 search.exclude_tags = "deleted;spam;";
21 maildir.synchronize_flags = true;
22 user = {
23 name = "lassulus";
24 primary_email = "lassulus@lassul.us";
25 other_email = lib.concatStringsSep ";" [
26 "lass@lassul.us"
27 "lassulus@c-base.org"
28 "lassulus@gmail.com"
29 "lassulus@googlemail.com"
30 ];
31 };
32 };
33 passthru = { };
34 };
35 in
36 notmuchConfig.wrapper;
37 };
38}