MyNixOS website logo
option

programs.firefox.profiles.<name>.extensions.packages

List of ‹name› add-on packages to install for this profile. Some pre-packaged add-ons are accessible from the Nix User Repository. Once you have NUR installed run

$ nix-env -f '<nixpkgs>' -qaP -A nur.repos.rycee.firefox-addons

to list the available ‹name› add-ons.

Note that it is necessary to manually enable these extensions inside ‹name› after the first installation.

To automatically enable extensions add "extensions.autoDisableScopes" = 0; to programs.firefox.profiles.<profile>.settings

On systems using impermanence, this only prevents ‹name› from requiring manual extension approval. It does not preserve extension runtime state such as extension UUIDs, logins, local storage, or per-extension data. Persist the ‹name› profile state needed by your extensions, or configure supported extension settings declaratively with programs.firefox.profiles.<profile>.extensions.settings.

Persisting only the extensions directory is generally not sufficient, because ‹name› stores extension state in other profile files and databases that are managed outside Home Manager.

Declarations
Type
list of package
Default
[ ]
Example
with pkgs.nur.repos.rycee.firefox-addons; [
  privacy-badger
]