summary refs log tree commit diff
path: root/doc/builders/packages
diff options
context:
space:
mode:
authorLuis Hebendanz <luis.nixos@gmail.com>2020-12-04 17:53:14 +0100
committerLuis Hebendanz <luis.nixos@gmail.com>2020-12-04 17:53:14 +0100
commitd3a6a124cf1fefb015e3a4a0642bcee8c623451f (patch)
tree1758b0b70ec04ec0716cfb69a7c732be46934e40 /doc/builders/packages
parentea382dd6297d94012236fbbc8b26b321ebe77c75 (diff)
downloadnixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.tar
nixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.tar.gz
nixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.tar.bz2
nixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.tar.lz
nixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.tar.xz
nixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.tar.zst
nixpkgs-d3a6a124cf1fefb015e3a4a0642bcee8c623451f.zip
firefox: fix wrapper removing existing addons by default
Diffstat (limited to 'doc/builders/packages')
-rw-r--r--doc/builders/packages/firefox.section.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/builders/packages/firefox.section.md b/doc/builders/packages/firefox.section.md
index 2f89da2d459..734b1839a3e 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.
+