diff options
author | Luis Hebendanz <luis.nixos@gmail.com> | 2020-12-04 17:53:14 +0100 |
---|---|---|
committer | Luis Hebendanz <luis.nixos@gmail.com> | 2020-12-04 17:53:14 +0100 |
commit | d3a6a124cf1fefb015e3a4a0642bcee8c623451f (patch) | |
tree | 1758b0b70ec04ec0716cfb69a7c732be46934e40 /doc | |
parent | ea382dd6297d94012236fbbc8b26b321ebe77c75 (diff) |
firefox: fix wrapper removing existing addons by default
Diffstat (limited to 'doc')
-rw-r--r-- | doc/builders/packages/firefox.section.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/builders/packages/firefox.section.md b/doc/builders/packages/firefox.section.md index 2f89da2d4595..734b1839a3e6 100644 --- a/doc/builders/packages/firefox.section.md +++ b/doc/builders/packages/firefox.section.md @@ -7,7 +7,7 @@ The `wrapFirefox` function allows to pass policies, preferences and extension th ```nix { myFirefox = wrapFirefox firefox-unwrapped { - extraExtensions = [ + nixExtensions = [ (fetchFirefoxAddon { name = "ublock"; url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-1.31.0-an+fx.xpi"; @@ -38,3 +38,12 @@ The `wrapFirefox` function allows to pass policies, preferences and extension th }; } ``` + +If `nixExtensions != null` then all manually installed addons will be uninstalled from your browser profile. +To view available enterprise policies visit [enterprise policies](https://github.com/mozilla/policy-templates#enterprisepoliciesenabled) +or type into the Firefox url bar: `about:policies#documentation`. +Nix installed addons do not have a valid signature, which is why signature verification is disabled. This does not compromise security because downloaded addons are checksumed and manual addons can't be installed. + +# Troubleshooting +If addons do not appear installed although they have been defined in your nix configuration file reset the local addon state of your Firefox profile by clicking `help -> restart with addons disabled -> restart -> refresh firefox`. This can happen if you switch from manual addon mode to nix addon mode and then back to manual mode and then again to nix addon mode. + |