This repository has no description
0

Configure Feed

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

1{ 2 self, 3 lib, 4 ... 5}: 6{ 7 flake.wrapperModules.notmuch = self.wrapLib.mkWrapper ( 8 wlib: 9 { config, ... }: 10 let 11 iniFmt = config.pkgs.formats.ini { }; 12 writeNotmuchConfig = cfg: iniFmt.generate "notmuch.ini" cfg; 13 in 14 { 15 options = { 16 config = lib.mkOption { 17 type = iniFmt.type; 18 default = { 19 database = { 20 path = "Maildir"; 21 mail_root = "Maildir"; 22 }; 23 }; 24 }; 25 configFile = lib.mkOption { 26 type = wlib.types.file config.pkgs; 27 default.path = toString (writeNotmuchConfig config.config); 28 }; 29 }; 30 config.package = config.pkgs.notmuch; 31 config.env.NOTMUCH_CONFIG = config.configFile.path; 32 } 33 ); 34}