Firebase studio stuck in "setting up workspace"

Unable to create your environment. Please boot into the default recovery environment below.

This typically happens because your /home/user/studio/.idx/dev.nix file is invalid.

It is a very fragile configuration file and cannot gracefully handle errors.

If there is an error, your environment will not build.

It will go into recovery automatically.

Ask Gemini to check that file.