fix: firefox profile cannot be loaded error on macOS

This commit is contained in:
Noah Masur
2026-08-22 09:25:04 -04:00
parent fffb9d547c
commit 5ecefd4589
2 changed files with 4 additions and 8 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 2026-08-16
- Fixed Firefox "profile cannot be loaded" error on macOS by removing `home.file."Library/Application Support/Firefox/installs.ini"`. Hardcoding an installation hash in `installs.ini` broke whenever Firefox was updated or rebuilt in the Nix store because the nix store path changed, causing Firefox to compute a new installation hash, fail to match or write to the read-only `installs.ini` symlink, and error out. Firefox on macOS uses `profiles.ini` (managed by Home Manager) and `MOZ_LEGACY_PROFILES=1` (exported by nixpkgs' launcher wrapper).
## 2026-08-03
- Added `presets/security/corporate-ca.nix` (nix-darwin) and enabled it on the