this post was submitted on 21 Aug 2026
34 points (87.0% liked)
Linux
14756 readers
598 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I attempted to learn two weeks ago. I know Rust, C, and Python. Nix documentation is getting better, but still nowhere near as good as most other langs. And the LSPs are genuinely useless.
I agree with you, BTW. Nix is terrible at the beginning and the documentation is by far the worst I've seen. Yes, it exists, but good golly...
It took me a day learned Python. It was that easy. Nix took significantly longer and there are parts I run into nowadays that still make me question what's going on, because they are from functional programming and that is nearly always horribly explained.
But, and here's the big but, learning nix is worth it. As the other (uncompassionate) person said, think of it as JSON (with functional programming).
Attribute sets = dictionaries/maps/JSON objects
Attributes can be assigned numbers, strings, other attribute sets, or functions.
New context is added via the
let ... insyntax.If you need some help, maybe examples, you can ask and I'll try to explain.
Your reading comprehension could use some work. Anyway, I'm sure just telling people that Nix is just JSON is gonna make Nix easier to learn. Good luck!