Mailman nixos module #167
|
@ -21,6 +21,9 @@ in {
|
||||||
transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
||||||
local_recipient_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
local_recipient_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
||||||
};
|
};
|
||||||
|
rootAlias = "admins@pub.solar";
|
||||||
|
postmasterAlias = "admins@pub.solar";
|
||||||
|
hostname = "list.pub.solar";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mailman = {
|
services.mailman = {
|
||||||
|
@ -32,6 +35,17 @@ in {
|
||||||
siteOwner = "admins@pub.solar";
|
siteOwner = "admins@pub.solar";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO add django-keycloak as auth provider
|
||||||
|
# https://django-keycloak.readthedocs.io/en/latest/
|
||||||
|
## Extend settings.py directly since this can't be done via JSON
|
||||||
|
## settings (services.mailman.webSettings)
|
||||||
|
#environment.etc."mailman3/settings.py".text = ''
|
||||||
|
# INSTALLED_APPS.extend([
|
||||||
|
# "allauth.socialaccount.providers.github",
|
||||||
|
# "allauth.socialaccount.providers.gitlab"
|
||||||
|
# ])
|
||||||
|
#'';
|
||||||
|
|
||||||
systemd.services.mailman-uwsgi = let
|
systemd.services.mailman-uwsgi = let
|
||||||
uwsgiConfig.uwsgi = {
|
uwsgiConfig.uwsgi = {
|
||||||
type = "normal";
|
type = "normal";
|
||||||
|
|
Loading…
Reference in a new issue