diff options
author | Lassulus <github@lassul.us> | 2020-12-15 22:16:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 22:16:48 +0100 |
commit | 00b8fa792b2d39ef1b42848059ff15d50341decc (patch) | |
tree | 351bdd6d9d78e76a0bd07fbdd9c4fe9605e818f2 /doc | |
parent | de8205f8bb2c6ca14730b00ba3a280db1d364b40 (diff) | |
parent | 1c8c134972b64aa31ceddc2b5054ff664e396910 (diff) |
Merge pull request #106000 from Luis-Hebendanz/firefoxWrapperAddonSettings
firefox: wrapper updating an addon perserves addon settings
Diffstat (limited to 'doc')
-rw-r--r-- | doc/builders/packages/firefox.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/builders/packages/firefox.section.md b/doc/builders/packages/firefox.section.md index 28fa3f0dbd7c..acf31e188c3e 100644 --- a/doc/builders/packages/firefox.section.md +++ b/doc/builders/packages/firefox.section.md @@ -9,7 +9,7 @@ The `wrapFirefox` function allows to pass policies, preferences and extension th myFirefox = wrapFirefox firefox-unwrapped { nixExtensions = [ (fetchFirefoxAddon { - name = "ublock"; + name = "ublock"; # Has to be unique! url = "https://addons.mozilla.org/firefox/downloads/file/3679754/ublock_origin-1.31.0-an+fx.xpi"; sha256 = "1h768ljlh3pi23l27qp961v1hd0nbj2vasgy11bmcrlqp40zgvnr"; }) @@ -42,7 +42,7 @@ 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. +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. Also make sure that the `name` field of fetchFirefoxAddon is unique. If you remove an addon from the nixExtensions array, rebuild and start Firefox the removed addon will be completly removed with all of its settings. ## Troubleshooting {#sec-firefox-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. |