Alyssa Ross
547b91b971
nixos/mailman: add webUser option
...
Not everybody is using Apache.
2020-01-30 23:14:45 +00:00
Alyssa Ross
27b459ce1e
nixos/mailman: types.string -> types.str
2019-09-11 14:14:09 +00:00
Peter Simons
d0dba96e1d
nixos/mailman: properly wrap the mailman-web script
2019-09-11 15:22:37 +02:00
Peter Simons
a7941fe210
nixos/mailman: create "mailman" executable as a proper wrapper script
2019-09-11 15:11:34 +02:00
Peter Simons
1cb5cff611
nixos/mailman: clean up our variable names
2019-09-11 14:58:16 +02:00
Peter Simons
0cc37b3cfa
nixos/mailman: httpd.services requires mailman-web in the systemd sense
...
When mailman-web restarts, it removes the generated "static" directory. This
breaks a currently running httpd process, which needs a re-start, too, to
obtain a new handle for the newly generated path.
2019-09-11 14:52:47 +02:00
Peter Simons
86f8895abb
python-mailman-web: turn these Djando configuration files into a make-shift Python library
...
Suggested in https://github.com/NixOS/nixpkgs/pull/67951#issuecomment-530309702 .
2019-09-11 14:48:51 +02:00
Peter Simons
72c7ba5aba
nixos/mailman: add support for the Mailman Web UI (Postorius & Hyperkitty)
2019-09-11 12:19:23 +02:00
Peter Simons
eedf3dc6e2
nixos/mailman: decouple the mailman module from the postfix module
...
https://github.com/NixOS/nixpkgs/pull/67708#discussion_r319579987 suggested
that simply appending the necessary maps to the appropriate attributes in
services.postfix.config gets the job done; we don't special support in the
postfix module to accomplish that.
2019-08-30 18:44:47 +02:00
Peter Simons
6b87772ca4
nixos/mailman: don't reserve a static uid in the system
...
Any system uid will do, so we let the system allocate
one for us. The 'mailman' group is gone entirely since
we don't need it. Users who wish to run the 'mailman'
administration utility can do so via 'sudo':
$ sudo -u mailman mailman info
Also, simplify the syntax of our user.users entry to
rely on an attribute set rather than a list.
2019-08-30 18:00:36 +02:00
Peter Simons
5a81797119
nixos/mailman: cosmetic
2019-08-30 15:38:43 +02:00
Peter Simons
c1c1ce7221
mailman: add NixOS module to install and deploy the mailing list server
2019-08-29 20:29:35 +02:00