librewolf: allow sideloading unsigned addons
still defaulting to firefox, because this requires a recompilation of the browser -- particularly expensive for moby.
This commit is contained in:
@@ -12,7 +12,11 @@ let
|
|||||||
cfg = config.sane.web-browser;
|
cfg = config.sane.web-browser;
|
||||||
# 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.overrideAttrs (drv: {
|
||||||
|
# this allows side-loading unsigned addons
|
||||||
|
# TODO: might be allowed to set this to `false`.
|
||||||
|
MOZ_REQUIRE_SIGNING = "";
|
||||||
|
});
|
||||||
libName = "librewolf";
|
libName = "librewolf";
|
||||||
dotDir = ".librewolf";
|
dotDir = ".librewolf";
|
||||||
desktop = "librewolf.desktop";
|
desktop = "librewolf.desktop";
|
||||||
|
Reference in New Issue
Block a user