fix: firefox not using profile and preferences

This commit is contained in:
Noah Masur
2026-08-08 10:51:10 -04:00
parent 8ae7fd435e
commit a979036462
@@ -21,10 +21,19 @@ in
"okta-browser-plugin" "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 = { programs.firefox = {
enable = true; enable = true;
configPath = ".mozilla/firefox";
package = pkgs.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 = { profiles.default = {
id = 0; id = 0;
name = "default"; name = "default";