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:
colin 2022-11-01 19:17:49 -07:00
parent 3ecfea158a
commit ad6daa4e5b

View File

@ -12,7 +12,11 @@ let
cfg = config.sane.web-browser;
# allow easy switching between firefox and librewolf with `defaultSettings`, below
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";
dotDir = ".librewolf";
desktop = "librewolf.desktop";