debugged this in repl instead of just throwing shit on the wall and hoping it works like the last version of this function
12 lines
255 B
Nix
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;
|
|
};
|
|
}
|