I'm generally positive towards Nix + AI combo too. Sometimes it's a double-edged sword.
Normally being alert and catching AI "junior engineer" slips is feasible. But 2AM? We've all been there...
If it's easy to output a C++ project's dependency graph then the AI-generated attribute sets could be specific enough.
Not sure how painful C++ build times are with Nix, though.