From a979036462f9a1b0f4bff105d4992bab38fe673c Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 8 Aug 2026 10:29:21 -0400 Subject: [PATCH] fix: firefox not using profile and preferences --- .../modules/nmasur/presets/programs/firefox.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/platforms/home-manager/modules/nmasur/presets/programs/firefox.nix b/platforms/home-manager/modules/nmasur/presets/programs/firefox.nix index 8791d286..18ec90fd 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/firefox.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/firefox.nix @@ -21,10 +21,19 @@ in "okta-browser-plugin" ]; + home.file."Library/Application Support/Firefox/installs.ini" = lib.mkIf pkgs.stdenv.isDarwin { + text = '' + [43AEB1562DAA8804] + Default=Profiles/default + Locked=1 + ''; + }; + programs.firefox = { enable = true; - configPath = ".mozilla/firefox"; package = pkgs.firefox; + # Use appropriate default path depending on the OS + configPath = if pkgs.stdenv.isDarwin then "Library/Application Support/Firefox" else ".mozilla/firefox"; profiles.default = { id = 0; name = "default";