diff options
author | Linus Heckemann <git@sphalerite.org> | 2020-04-15 14:02:59 +0200 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2020-06-18 17:21:41 +0200 |
commit | b478e0043c53964c99cc9a145c155a673af3c7d8 (patch) | |
tree | 0c94b9a36ceacd790c74ea24dc37d6c97b1739e5 /nixpkgs/pkgs/servers/gotify/version.nix | |
parent | f5a57c6c40d69f600fcb4e46d2adaa0affc56f9d (diff) | |
download | nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.tar nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.tar.gz nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.tar.bz2 nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.tar.lz nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.tar.xz nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.tar.zst nixlib-b478e0043c53964c99cc9a145c155a673af3c7d8.zip |
nixos/mailman: refactor
- Add serve.enable option, which configures uwsgi and nginx to serve the mailman-web application; - Configure services to log to the journal, where possible. Mailman Core does not provide any options for this, but will now log to /var/log/mailman; - Use a unified python environment for all components, with an extraPackages option to allow use of postgres support and similar; - Configure mailman's postfix module such that it can generate the domain and lmtp maps; - Fix formatting for option examples; - Provide a mailman-web user to run the uwsgi service by default - Refactor Hyperkitty's periodic jobs to reduce repetition in the expressions; - Remove service dependencies not related to functionality included in the module, such as httpd -- these should be configured in user config when used; - Move static files root to /var/lib/mailman-web-static by default. This avoids permission issues when a static file web server attempts to access /var/lib/mailman which is private to mailman. The location can still be changed by setting services.mailman.webSettings.STATIC_ROOT; - Remove the webRoot option, which seems to have been included by accident, being an unsuitable directory for serving via HTTP. - Rename mailman-web.service to mailman-web-setup.service, since it doesn't actually serve mailman-web. There is now a mailman-uwsgi.service if serve.enable is set to true.
Diffstat (limited to 'nixpkgs/pkgs/servers/gotify/version.nix')
0 files changed, 0 insertions, 0 deletions