Root folder changed to src while developing prototype

I was doing one click without taking too much notice on something gemini suggested “it was the files that is went through” and after a lot of files were just gone: I know they must be still somewhere in the project as the app is running smooth but .idx and config.next.js are gone and I cannot seem to find them. Please help!!

I can also not rebuild the environment as suggested as nothing is happening after firebase studio tells me that dev.nix environment changed. It’s pretty weird..