Stylix firefox profile names

This commit is contained in:
DashieTM 2025-05-02 12:00:05 +02:00
parent 5b13d145ad
commit e657564ef7
4 changed files with 30 additions and 21 deletions

View file

@ -80,6 +80,12 @@
};
config = lib.mkIf (config.mods.browser.firefox.enable || config.mods.homePackages.browser == "firefox") (
lib.optionalAttrs (options ? programs.firefox.profiles) {
stylix.targets.firefox.profileNames =
map (
{name, ...}:
name
)
config.mods.browser.firefox.profiles;
programs.firefox = {
enable = true;
policies = config.mods.browser.firefox.configuration;