11.stylix/modules/zen-browser/meta.nix
Karun Sandhu c32c82e460
zen-browser: init (#1694)
Link: https://github.com/nix-community/stylix/pull/1694
Closes: https://github.com/nix-community/stylix/issues/1685

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: awwpotato <awwpotato@voidq.com>
2025-07-20 16:47:35 -07:00

38 lines
1.1 KiB
Nix

{ lib, ... }:
{
name = "Zen Browser";
homepage = "https://zen-browser.app";
maintainers = [ lib.maintainers.MrSom3body ];
description = ''
This module supports the [Zen Browser](https://zen-browser.app).
> [!IMPORTANT]
>
> For any theming to be applied, you need to tell this module which
> [profiles](https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data)
> you're using:
>
> ```nix
> {
> programs.zen-browser = {
> enable = true;
>
> profiles = {
> my-profile = {
> # bookmarks, extensions, search engines...
> };
> my-friends-profile = {
> # bookmarks, extensions, search engines...
> };
> };
> };
>
> stylix.targets.zen-browser.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.
'';
}