Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Motivation for this change
I’ve been using this for months now, and it works great. And several other people have expressed interest in my module, so here it is. :)
This module encapsulates pretty much all of public-inbox's
This module encapsulates pretty much all of public-inbox's functionality. While there are a lot of options, they're only exposed for things that either I think have a high chance of being something a large proportion of users need to set, or if the module needs to do some special setup to accomodate them. All other public-inbox configuration can be set through the `config' options.
Great work @alyssais, thanks!
One remaining fix though, setting ˋmda.spamCheck == nullˋ does not work as expected because ˋpublicinboxmda.spamcheckˋ will be discarded by ˋconfigToListˋ. Note that in order to properly disable spamcheck in the final config, one has to set ˋpublicinboxmda.spamcheckˋ to something (eg. "none") to make public-inbox-mda work; it does not work to simply set the option to an empty string: public-inbox-mda still searches and fails to find ˋspamcˋ. (edit: it actually must be set to "none" in this case according to https://public-inbox.org/public-inbox-config.html )
And it would be even greater to expose config options using the ˋsettingsˋ scheme of NixOS/rfcs#42 (as done for example in the ˋsanoidˋ module). What do you think?