Firefox devtools broken with custom home-manager configuration

Quick update on this. First off, no, that’s not my options directly.
The specific file that causes the problem is places.sqlite inside the profile. I couldn’t find any issues about this on home-manager repository. Although I was contacted by a person that had the exact same issue - when you manage your Firefox options and extentions through HM, it borks your places.sqlite file, which in turn breaks devtools and many other browser aspects.
Even though I know the specific file that causes the problem now, I’m still not sure of the proper fix. I suspect the issue is somewhere in the home manager internally, and I can’t really do anything on my side to fix it. Except turn off history saving :smiley: