fix: mailman web static dir permissions

This commit is contained in:
teutat3s 2023-10-29 02:49:09 +01:00
parent 6b1d33bf77
commit 5a2a9e99ac
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -14,6 +14,12 @@
enableACME = true;
forceSSL = true;
};
# Tweak permissions so nginx can read and serve the static assets
# (otherwise /var/lib/mailman-web is mode 0600)
# https://nixos.wiki/wiki/Mailman
systemd.services.mailman-settings.script = ''
chmod o+x /var/lib/mailman-web-static
'';
services.postfix = {
enable = true;