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.
I've been running NixOS as a daily driver for about 5 years so I'm somewhat comfortable with it. So far, I haven't seen many odd configurations as you suggest, but I'll keep my eye out.