Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(pm/wiki): allow more file uploads

By default mediawiki has restrictive file upload requirements. In
particular they have to be very small and in a tiny set of image types.

We trust the people on our wiki. We should just let them upload many
more files...

+10
+10
packetmix/systems/wiki/wiki.nix
··· 281 281 282 282 $wgExternalLinkTarget = '_blank'; 283 283 284 + $wgStrictFileExtensions = false; 285 + 286 + $wgMaxUploadSize = 1024 * 1024 * 1024; 287 + 284 288 $wgShowExceptionDetails = true; 285 289 $wgDevelopmentWarnings = true; 286 290 ''; ··· 299 303 300 304 passwordFile = "/secrets/mediawiki/initial_admin_password.txt"; 301 305 }; 306 + 307 + services.phpfpm.pools.mediawiki.phpOptions = '' 308 + upload_max_filesize = 1G 309 + post_max_size = 1G 310 + memory_limit = 2G 311 + ''; 302 312 303 313 services.postgresql = { 304 314 enable = true;