diff --git a/modules/programs/firefox/mkFirefoxModule.nix b/modules/programs/firefox/mkFirefoxModule.nix index eafaeca1a..2ec867a46 100644 --- a/modules/programs/firefox/mkFirefoxModule.nix +++ b/modules/programs/firefox/mkFirefoxModule.nix @@ -972,6 +972,9 @@ in release = mkOptionDefault (builtins.head (lib.splitString "-" cfg.package.version)); policies = { + NoDefaultBookmarks = lib.mkIf (builtins.any (profile: profile.bookmarks.enable) ( + builtins.attrValues cfg.profiles + )) false; ExtensionSettings = lib.mkIf (cfg.languagePacks != [ ]) ( lib.listToAttrs ( map (