caenix/modules/nixos/multimedia/web/firefox/preferences.nix
caem 965f7c0a09
actually fix prefs this time
debugged this in repl instead of just throwing shit on the wall and
hoping it works like the last version of this function
2025-01-25 13:27:23 +01:00

12 lines
255 B
Nix

let
mkPrefs = prefs: builtins.concatStringsSep
"\n"
(builtins.attrValues
(builtins.mapAttrs
(n: v: ''user_pref("${n}", "${v}");'') prefs));
in
mkPrefs {
prefs = {
"browser.urlbar.suggest.topsites" = false;
};
}