@khm hey, i stumbled upon your firefox policies page a few days ago and i gave it a deeper look today, thanks a lot for it it's really useful!
in the process i found this: https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
i'm on NetBSD and what i ended up with is different from what you describe (i wanted a folder that works for all firefox versions including after an ESR rollover, where the version in the directory name changes). the file paths are very un-NetBSD-y but they work:
/etc/firefox/policies/policies.json
-> your file, customised to my taste
/etc/firefox/defaults/pref/autoconfig.js
-> allows `pref("beacon.enabled", false);` without fighting back
also `nimbus.*` sound like stuff we might want to disable too
thanks for reaching out, and I'm glad that page is useful! I've added your path to the netbsd section.
about autoconfig: the firefox documentation claims you must have an autoconfig file that merely enables autoconfig and sets a path to a second file. If you're saying that just dumping stuff straight into autoconfig.js works, that's great news, because the official mozilla method is stupid. I'll play around with this!
finally, nimbus should be disabled already as a consequence of turning off telemetry. the only way nimbus should be active is if someone went in and manually activated Firefox Labs. if you find evidence to the contrary please do share.