+##########################################
+# below this: customizations by plomlompom
+
config :pleroma, :instance,
- registrations_open: false
+ registrations_open: false
+
+config :pleroma, :frontend_configurations,
+ pleroma_fe: %{
+ background: "/pixel.png",
+ logo: "/pixel.png"
+ }
# configurations to /etc/config.exs.
cat "${config_tree_prefix}/other_files/append_pleroma_config" >> /etc/pleroma/config.exs
+# Single-pixel picture hack for removing Pleroma FE images.
+cp "${config_tree_prefix}/other_files/pixel.png" /var/lib/pleroma/static/
+chown pleroma:nogroup /var/lib/pleroma/static/pixel.png
+
# Prepare NGINX config for Pleroma.
cp /opt/pleroma/installation/pleroma.nginx /etc/nginx/sites-available/pleroma.nginx
sed -i "s/example\.tld/${domain}/g" /etc/nginx/sites-available/pleroma.nginx