This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / notmuch / flake-module.nix
3.0 kB 99 lines
1{ self, ... }: 2{ 3 perSystem = 4 { 5 lib, 6 pkgs, 7 ... 8 }: 9 { 10 packages.notmuch = 11 let 12 # Mailboxes configuration from mail.nix 13 mailboxes = { 14 afra = [ "to:afra@afra-berlin.de" ]; 15 c-base = [ "to:c-base.org" ]; 16 coins = [ 17 "to:btce@lassul.us" 18 "to:coinbase@lassul.us" 19 "to:polo@lassul.us" 20 "to:bitwala@lassul.us" 21 "to:payeer@lassul.us" 22 "to:gatehub@lassul.us" 23 "to:bitfinex@lassul.us" 24 "to:binance@lassul.us" 25 "to:bitcoin.de@lassul.us" 26 "to:robinhood@lassul.us" 27 ]; 28 dezentrale = [ "to:dezentrale.space" ]; 29 dhl = [ "to:dhl@lassul.us" ]; 30 dn42 = [ "to:dn42@lists.nox.tf" ]; 31 eloop = [ "to:eloop.org" ]; 32 github = [ "to:github@lassul.us" ]; 33 gmail = [ 34 "to:gmail@lassul.us" 35 "to:lassulus@gmail.com" 36 "lassulus@googlemail.com" 37 ]; 38 india = [ 39 "to:hillhackers@lists.hillhacks.in" 40 "to:hackbeach@lists.hackbeach.in" 41 "to:hackbeach@mail.hackbeach.in" 42 ]; 43 kaosstuff = [ 44 "to:gearbest@lassul.us" 45 "to:banggood@lassul.us" 46 "to:tomtop@lassul.us" 47 ]; 48 lugs = [ "to:lugs@lug-s.org" ]; 49 meetup = [ "to:meetup@lassul.us" ]; 50 nix = [ 51 "to:nix-devel@googlegroups.com" 52 "to:nix@lassul.us" 53 ]; 54 patreon = [ "to:patreon@lassul.us" ]; 55 paypal = [ "to:paypal@lassul.us" ]; 56 ptl = [ "to:ptl@posttenebraslab.ch" ]; 57 retiolum = [ "to:lass@mors.r" ]; 58 security = [ 59 "to:seclists.org" 60 "to:bugtraq" 61 "to:securityfocus@lassul.us" 62 "to:security-announce@lists.apple.com" 63 ]; 64 shack = [ "to:shackspace.de" ]; 65 steam = [ "to:steam@lassul.us" ]; 66 tinc = [ 67 "to:tinc@tinc-vpn.org" 68 "to:tinc-devel@tinc-vpn.org" 69 ]; 70 wireguard = [ "to:wireguard@lists.zx2c4" ]; 71 zzz = [ 72 "to:pizza@lassul.us" 73 "to:spam@krebsco.de" 74 ]; 75 }; 76 77 in 78 self.wrapperModules.notmuch.apply { 79 pkgs = pkgs; 80 config = { 81 database = { 82 path = "Maildir"; 83 mail_root = "Maildir"; 84 }; 85 new.tags = "unread;inbox;"; 86 search.exclude_tags = "deleted;spam;"; 87 maildir.synchronize_flags = true; 88 user = { 89 name = "lassulus"; 90 primary_email = "lassulus@lassul.us"; 91 other_email = lib.concatStringsSep ";" (lib.flatten (lib.attrValues mailboxes)); 92 }; 93 }; 94 passthru = { 95 mailboxes = mailboxes; 96 }; 97 }; 98 }; 99}