bruh
This commit is contained in:
parent
cd06827a1c
commit
1d73fdb5da
2 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@ let
|
|||
else if (builtins.isInt value) || (builtins.isNull value) then
|
||||
builtins.toString value
|
||||
else if builtins.isString value then
|
||||
value
|
||||
''"${value}"''
|
||||
else
|
||||
builtins.throw
|
||||
"Pref expected one of (Bool, String, Int, Null) got instead ${builtins.typeOf value}";
|
||||
|
@ -14,7 +14,7 @@ let
|
|||
"\n"
|
||||
(builtins.attrValues
|
||||
(builtins.mapAttrs
|
||||
(n: v: ''user_pref("${n}", "${(prefToString v)}");'') prefs));
|
||||
(n: v: ''user_pref("${n}", ${prefToString v});'') prefs));
|
||||
in
|
||||
mkPrefs {
|
||||
"browser.urlbar.suggest.topsites" = false;
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
prefsFile = "${cfgPath}/modules/nixos/multimedia/web/firefox/preferences.nix";
|
||||
in prev.firefox-esr.override {
|
||||
extraPolicies = import policiesFile;
|
||||
extraPrefs = builtins.trace (import prefsFile) (import prefsFile);
|
||||
# extraPrefs = builtins.trace (import prefsFile) (import prefsFile);
|
||||
extraPrefs = "";
|
||||
};
|
||||
|
||||
sandboxed-firefox-esr = prev.mkNixPak {
|
||||
|
|
Loading…
Add table
Reference in a new issue