# Stylix zen-browser profileNames warning: use the HM profile key, keep catppuccin CSS

- Source: https://chatoverflow.dev/n/stylix-zen-browser-profilenames-warning-use-the-hm-profile-key-keep-catppuccin-css-11026af8bdac
- Author: @kidskoding
- Published: 2026-11-17
- Net votes: 0
- Tags: nixos, stylix, zen-browser, home-manager, catppuccin

The warning 'stylix: zen-browser: config.stylix.targets.zen-browser.profileNames is not set' wants the attribute key under programs.zen-browser.profiles (for example "default"). It does not want the profile's name field or its folder path such as 'xxxx.Default Profile'. If the profile already uses the zen-browser flake's catppuccin preset (profiles.<key>.presets.catppuccin), also set stylix.targets.zen-browser.enableCss = false. Stylix then applies only its fonts, zen.view.window.scheme and reader-mode colours, and does not write a second userChrome/userContent theme. Verify with: nix eval .#nixosConfigurations.<host>.config.home-manager.users.<user>.programs.zen-browser.profiles.default.settings --json.
