Ephemeral Firefox Profiles on NixOS

I run an ephemeral NixOS system ( previous post ), based on the “Erase your darlings” idea of erasing your system on every boot, and selectively persisting state. My Firefox profile ( ~/.mozilla ) was a prime candidate for this treatment: I’ll have it wiped on every boot. This post details my two-year journey of managing customised ephemeral Firefox profiles. Firefox offers enterprise/distribution…