firefox: remove dead code
This commit is contained in:
@@ -13,14 +13,7 @@ let
|
||||
mobile-prefs = lib.optionals false pkgs.librewolf-pmos-mobile.extraPrefsFiles;
|
||||
# allow easy switching between firefox and librewolf with `defaultSettings`, below
|
||||
librewolfSettings = {
|
||||
browser = pkgs.librewolf-unwrapped.overrideAttrs (upstream: {
|
||||
# TEMP(2023/11/21): fix eval bug in wrapFirefox
|
||||
# see: <https://github.com/NixOS/nixpkgs/pull/244591>
|
||||
passthru = upstream.passthru // {
|
||||
requireSigning = false;
|
||||
allowAddonSideload = true;
|
||||
};
|
||||
});
|
||||
browser = pkgs.librewolf-unwrapped;
|
||||
extraPrefsFiles = pkgs.librewolf-unwrapped.extraPrefsFiles ++ mobile-prefs;
|
||||
libName = "librewolf";
|
||||
dotDir = ".librewolf";
|
||||
@@ -199,7 +192,7 @@ let
|
||||
in
|
||||
{
|
||||
config = mkMerge [
|
||||
({
|
||||
{
|
||||
sane.programs.firefox.configOption = mkOption {
|
||||
type = types.submodule configOpts;
|
||||
default = {};
|
||||
@@ -266,8 +259,8 @@ in
|
||||
enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
})
|
||||
({
|
||||
}
|
||||
{
|
||||
sane.programs.firefox = {
|
||||
inherit packageUnwrapped;
|
||||
sandbox.method = "bwrap"; # landlock works, but requires all of /proc to be linked
|
||||
@@ -414,7 +407,6 @@ in
|
||||
"ephemeral"
|
||||
;
|
||||
};
|
||||
|
||||
})
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user