{ extensions, userChrome, extraConfig, bookmarks, search, lib, config, ... }: let hexLib = import ./lib.nix {inherit lib;}; inherit (config.soispha.taskwarrior.projects) projects; mkFirefoxProfile = { name, id, }: { inherit name; value = { isDefault = false; inherit name id extensions userChrome search bookmarks extraConfig; }; }; projects_id = builtins.map (project: { name = project; id = hexLib.fromHexString (builtins.hashString "sha256" project); }) projects; firefoxProfiles = builtins.listToAttrs (builtins.map mkFirefoxProfile projects_id); in firefoxProfiles