I wonder if Nix is finally OK to use with LLMs. Used to be such a pain and just hours of googling to make simple things work. I think even ChatGPT didn't work well at the time for me, but now at least the try-and-fail can be done by the LLM itself.
Nix is fantastic with Claude Sonnet.
Use it as a teacher to learn to understand Nix deeply yourself. I would absolutely recommend everyone to start with the Nix Pills though, it's a great way to learn the language and understand the basic building blocks.