actually set the value

This commit is contained in:
caem 2025-01-25 13:57:09 +01:00
parent fdc80061c3
commit cd06827a1c
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 7 additions and 4 deletions

View file

@ -17,5 +17,5 @@ let
(n: v: ''user_pref("${n}", "${(prefToString v)}");'') prefs));
in
mkPrefs {
"browser.urlbar.suggest.topsites" = "false";
"browser.urlbar.suggest.topsites" = false;
}

View file

@ -10,9 +10,12 @@
{ cfgPath, ... }: final: prev: {
firefox-esr = let
intermediary-firefox-esr = prev.firefox-esr.override {
extraPolicies = import "${cfgPath}/modules/nixos/multimedia/web/firefox/policies.nix";
extraPrefs = builtins.trace (import "${cfgPath}/modules/nixos/multimedia/web/firefox/preferences.nix") "";
intermediary-firefox-esr = let
policiesFile = "${cfgPath}/modules/nixos/multimedia/web/firefox/policies.nix";
prefsFile = "${cfgPath}/modules/nixos/multimedia/web/firefox/preferences.nix";
in prev.firefox-esr.override {
extraPolicies = import policiesFile;
extraPrefs = builtins.trace (import prefsFile) (import prefsFile);
};
sandboxed-firefox-esr = prev.mkNixPak {