Firefox and its derivatives
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.
Module information
This module is maintained by Erin Pletches and Daniel Thwaites.
Home Manager options
stylix.targets.firefox.colorTheme.enable
Whether to enable Firefox Color on Firefox.
Type |
boolean |
Default |
|
Example |
|
Source |
stylix.targets.firefox.enable
Whether to enable theming for Firefox.
Type |
boolean |
Default |
same as |
Example |
|
Source |
stylix.targets.firefox.firefoxGnomeTheme.enable
Whether to enable Firefox GNOME theme on Firefox.
Type |
boolean |
Default |
|
Example |
|
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 |
|
Example |
|
Source |
stylix.targets.floorp.enable
Whether to enable theming for Floorp.
Type |
boolean |
Default |
same as |
Example |
|
Source |
stylix.targets.floorp.firefoxGnomeTheme.enable
Whether to enable Firefox GNOME theme on Floorp.
Type |
boolean |
Default |
|
Example |
|
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 |
|
Example |
|
Source |
stylix.targets.librewolf.enable
Whether to enable theming for LibreWolf.
Type |
boolean |
Default |
same as |
Example |
|
Source |
stylix.targets.librewolf.firefoxGnomeTheme.enable
Whether to enable Firefox GNOME theme on LibreWolf.
Type |
boolean |
Default |
|
Example |
|
Source |
stylix.targets.librewolf.profileNames
The LibreWolf profile names to apply styling on.
Type |
list of string |
Default |
|
Source |
NixOS options
None provided.