firefox: switch back to the default UI -- not pmos-mobile

This commit is contained in:
Colin 2023-07-16 12:25:12 +00:00
parent 11b4d2d66a
commit 60650f82fe

View File

@ -10,10 +10,11 @@
with lib; with lib;
let let
cfg = config.sane.programs.firefox.config; cfg = config.sane.programs.firefox.config;
mobile-prefs = lib.optionals false pkgs.librewolf-pmos-mobile.extraPrefsFiles;
# allow easy switching between firefox and librewolf with `defaultSettings`, below # allow easy switching between firefox and librewolf with `defaultSettings`, below
librewolfSettings = { librewolfSettings = {
browser = pkgs.librewolf-unwrapped; browser = pkgs.librewolf-unwrapped;
extraPrefsFiles = pkgs.librewolf-unwrapped.extraPrefsFiles ++ pkgs.librewolf-pmos-mobile.extraPrefsFiles; extraPrefsFiles = pkgs.librewolf-unwrapped.extraPrefsFiles ++ mobile-prefs;
libName = "librewolf"; libName = "librewolf";
dotDir = ".librewolf"; dotDir = ".librewolf";
cacheDir = ".cache/librewolf"; cacheDir = ".cache/librewolf";
@ -21,7 +22,7 @@ let
}; };
firefoxSettings = { firefoxSettings = {
browser = pkgs.firefox-esr-unwrapped; browser = pkgs.firefox-esr-unwrapped;
extraPrefsFiles = pkgs.firefox-pmos-mobile.extraPrefsFiles; extraPrefsFiles = mobile-prefs;
libName = "firefox"; libName = "firefox";
dotDir = ".mozilla/firefox"; dotDir = ".mozilla/firefox";
cacheDir = ".cache/mozilla"; cacheDir = ".cache/mozilla";