This is why I use nixos so I can easily deploy a configured firefox quickly

I just copy-paste the firefox profile folder. No need to reconfigure anything and the session is also preserved.

How does nixos solve Firefox configuration on MacOS and Windows? :-) I use all 3 OSes daily.