As you can see, I’ve tried both package.firefox.preferences and package.firefox.policies.Preferences. And also tried fling_friction as a number, but for some reason linter refused to accept such type:
error: A definition for option `programs.firefox.preferences."apz.fling_friction"' is not of type `boolean or signed integer or string'.
hey! same here! except i have quite a bit more stuff taken from this thread, and none of it works! it stopped working just this morning for me. extensions cant be installed declaratively, policies cant be declared, including preferences themselves! perhaps… we have to wait for an update (on this)
I personally use the home-manager module with programs.firefox.profiles.<name>.settings for values unsupported by programs.firefox.policies.Preferences.
It looks like the nixos module has a way to set values unsupported by policies through programs.firefox.autoConfig.
i AM using programs.firefox.policies.Preferences and neither the .policies nor .Preferences work with ANYTHING from mozilla’s policy-templates, and it did use to work just about a few days ago (5 from now), without home-manager…
i feel like a disorientated frog without my declarative browser settings… welp, still waiting for a fix!
i guess i will have to give programs.firefox.autoConfig a try… i have no idea how i will translate what i have in my config (extensions and their settings, preferences in nix into js, etc.) into AutoConfig functions… EDIT: i did not, in fact, give it a try…
P.S. i shouldve mentioned that i am using librewolf, also a gecko-based browser, which has had a patch error i believe in unstable, 5 days ago, coincidentally? anyway, before you ask, NO, i do not want to try those options with a firefox, thank you
so there’s this option programs.firefox.policies.* that used to work with librewolf, right? well, apparently now it’s in /etc/firefox/policies/policies.json which has no effect on librewolf… im not sure if it was like this before version 138, but yeah… wait a minute, cant i just symlink this to $HOME/.librewolf/profile.default/? err, maybe this is a bad idea