Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Firefox and its derivatives

Homepages: Firefox, Floorp, and LibreWolf

Maintainers: Erin Pletches, Daniel Thwaites, and Noah Pierre Biewesch (@Flameopathic @danth @trueNAHO)


This module supports Firefox, in addition to Floorp and LibreWolf, which are Firefox derivatives.

The same implementation is shared between all of these browsers, but they don't share option values.

important

For any theming to be applied, you need to tell this module which profiles you're using:

{
  programs.firefox = {
    enable = true;

    profiles = {
      my-profile = {
        # bookmarks, extensions, search engines...
      };
      my-friends-profile = {
        # bookmarks, extensions, search engines...
      };
    };
  };

  stylix.targets.firefox.profileNames = [ "my-profile" "my-friends-profile" ];
}

This is necessary due to a limitation of the module system: we can either detect the list of profiles, or change their configuration, but we can't do both without infinite recursion.

Home Manager options

stylix.targets.firefox.colorTheme.enable

Whether to enable Firefox Color on Firefox.

Type

boolean

Default

false

Example

true

Source

stylix.targets.firefox.colors.enable

Whether to enable config.lib.stylix.colors for Firefox.

Type

boolean

Default

true

Example

false

Source

stylix.targets.firefox.colors.override

Attribute sets are recursively merged with config.lib.stylix.colors, while all other non-null types override config.lib.stylix.colors.

Type

anything

Default

null

Source

stylix.targets.firefox.enable

Whether to enable theming for Firefox.

Type

boolean

Default

config.stylix.autoEnable

Example

false

Source

stylix.targets.firefox.firefoxGnomeTheme.enable

Whether to enable Firefox GNOME theme on Firefox.

Type

boolean

Default

false

Example

true

Source

stylix.targets.firefox.fonts.enable

Whether to enable config.stylix.fonts for Firefox.

Type

boolean

Default

true

Example

false

Source

stylix.targets.firefox.fonts.override

Attribute sets are recursively merged with config.stylix.fonts, while all other non-null types override config.stylix.fonts.

Type

anything

Default

null

Source

stylix.targets.firefox.inputs.enable

Whether to enable config.stylix.inputs for Firefox.

Type

boolean

Default

true

Example

false

Source

stylix.targets.firefox.inputs.override

Attribute sets are recursively merged with config.stylix.inputs, while all other non-null types override config.stylix.inputs.

Type

anything

Default

null

Source

stylix.targets.firefox.profileNames

The Firefox profile names to apply styling on.

Type

list of string

Default

[ ]

Source

stylix.targets.floorp.colorTheme.enable

Whether to enable Firefox Color on Floorp.

Type

boolean

Default

false

Example

true

Source

stylix.targets.floorp.colors.enable

Whether to enable config.lib.stylix.colors for Floorp.

Type

boolean

Default

true

Example

false

Source

stylix.targets.floorp.colors.override

Attribute sets are recursively merged with config.lib.stylix.colors, while all other non-null types override config.lib.stylix.colors.

Type

anything

Default

null

Source

stylix.targets.floorp.enable

Whether to enable theming for Floorp.

Type

boolean

Default

config.stylix.autoEnable

Example

false

Source

stylix.targets.floorp.firefoxGnomeTheme.enable

Whether to enable Firefox GNOME theme on Floorp.

Type

boolean

Default

false

Example

true

Source

stylix.targets.floorp.fonts.enable

Whether to enable config.stylix.fonts for Floorp.

Type

boolean

Default

true

Example

false

Source

stylix.targets.floorp.fonts.override

Attribute sets are recursively merged with config.stylix.fonts, while all other non-null types override config.stylix.fonts.

Type

anything

Default

null

Source

stylix.targets.floorp.inputs.enable

Whether to enable config.stylix.inputs for Floorp.

Type

boolean

Default

true

Example

false

Source

stylix.targets.floorp.inputs.override

Attribute sets are recursively merged with config.stylix.inputs, while all other non-null types override config.stylix.inputs.

Type

anything

Default

null

Source

stylix.targets.floorp.profileNames

The Floorp profile names to apply styling on.

Type

list of string

Default

[ ]

Source

stylix.targets.librewolf.colorTheme.enable

Whether to enable Firefox Color on LibreWolf.

Type

boolean

Default

false

Example

true

Source

stylix.targets.librewolf.colors.enable

Whether to enable config.lib.stylix.colors for LibreWolf.

Type

boolean

Default

true

Example

false

Source

stylix.targets.librewolf.colors.override

Attribute sets are recursively merged with config.lib.stylix.colors, while all other non-null types override config.lib.stylix.colors.

Type

anything

Default

null

Source

stylix.targets.librewolf.enable

Whether to enable theming for LibreWolf.

Type

boolean

Default

config.stylix.autoEnable

Example

false

Source

stylix.targets.librewolf.firefoxGnomeTheme.enable

Whether to enable Firefox GNOME theme on LibreWolf.

Type

boolean

Default

false

Example

true

Source

stylix.targets.librewolf.fonts.enable

Whether to enable config.stylix.fonts for LibreWolf.

Type

boolean

Default

true

Example

false

Source

stylix.targets.librewolf.fonts.override

Attribute sets are recursively merged with config.stylix.fonts, while all other non-null types override config.stylix.fonts.

Type

anything

Default

null

Source

stylix.targets.librewolf.inputs.enable

Whether to enable config.stylix.inputs for LibreWolf.

Type

boolean

Default

true

Example

false

Source

stylix.targets.librewolf.inputs.override

Attribute sets are recursively merged with config.stylix.inputs, while all other non-null types override config.stylix.inputs.

Type

anything

Default

null

Source

stylix.targets.librewolf.profileNames

The LibreWolf profile names to apply styling on.

Type

list of string

Default

[ ]

Source

NixOS options

None provided.