forked from
lass.pds.lassul.us/superconfig
This repository has no description
1.0 kB
39 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 new.ignore = "fts-flatcurve";
21 search.exclude_tags = "deleted;spam;";
22 maildir.synchronize_flags = true;
23 user = {
24 name = "lassulus";
25 primary_email = "lassulus@lassul.us";
26 other_email = lib.concatStringsSep ";" [
27 "lass@lassul.us"
28 "lassulus@c-base.org"
29 "lassulus@gmail.com"
30 "lassulus@googlemail.com"
31 ];
32 };
33 };
34 passthru = { };
35 };
36 in
37 notmuchConfig.wrapper;
38 };
39}