Actually, just in case any sincerely interested people are browsing, let me address your original points re. Nix's DSL, which made me wonder if you had read about Guix and Guile:
> Nix is bad because the language is very limited and extremely hard to debug and the module system is fragile and obscure
-- Limited :: here's a collection of Guile software https://sph.mn/foreign/guile-software.html. It's not Python, but it is a general purpose language used by lots of people for serious software work, with a nice library of lovely Scheme books for learning, too
-- Hard to debug :: Guile has built-in debugging support, and there are interfaces like Geiser in Emacs with extra tools, and also support for interacting with GDB
-- Module system :: Guile's module system was first implemented in 1996, I learned from browsing there. Anyway https://www.gnu.org/software/guile/manual/html_node/Modules....
So yes, if you don't like Lisps, or don't have time to learn new things, or don't like something else about Guix, by all means, steer clear. But the statement: "there's no Nix but with a general purpose, powerful programming language" is, I think, demonstrably false.