11.stylix/modules/firefox
Flameopathic 8a35410a28
treewide: add stylix.testbed.ui.{command,application} options (#1110)
Link: https://github.com/danth/stylix/pull/1110

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-04-29 19:59:16 +02:00
..
testbeds treewide: add stylix.testbed.ui.{command,application} options (#1110) 2025-04-29 19:59:16 +02:00
hm.nix treewide: add missing .s to extensions (#1165) 2025-04-24 03:34:56 +00:00
meta.nix Merge branch 'master' into treewide-init-maintainers 2025-04-13 19:59:13 +02:00
README.md doc: add module README for Firefox and derivatives (#897) 2025-02-24 19:10:45 +01:00
userChrome.css.mustache treewide: give mustache files correct file extensions (#946) 2025-03-02 23:48:43 +00:00

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.