fix: mailman web static dir permissions

This commit is contained in:
teutat3s 2023-10-29 02:49:09 +01:00 committed by b12f
parent e859cbbc10
commit 5aa4f8b947
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

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;