From a21d38d703af29d76abdc88676cd77f6eb319e53 Mon Sep 17 00:00:00 2001 From: Anomalocaridid <29845794+Anomalocaridid@users.noreply.github.com> Date: Tue, 7 Jan 2025 02:14:34 +0000 Subject: [PATCH] Update modules/home-manager/firefox.nix Co-authored-by: Heitor Augusto --- modules/home-manager/firefox.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/home-manager/firefox.nix b/modules/home-manager/firefox.nix index acb74787..33c43b47 100644 --- a/modules/home-manager/firefox.nix +++ b/modules/home-manager/firefox.nix @@ -52,9 +52,7 @@ let ]; }); programs.${name} = { - profiles.default.extensions = [ - sources.firefox."${cfg.flavor}_${cfg.accent}" - ]; + profiles = lib.genAttrs cfg.profiles (_: { extensions = [ sources.firefox."${cfg.flavor}_${cfg.accent}" ]; }) package = cfg.finalPackage; }; };