Hacker News new | ask | show | jobs
by unshavedyak 251 days ago
Seconded. I have a mostly CLI setup and in my experience Nix favors that on Mac, but nonetheless it makes my Nix and Linux setups a breeze. Everything is in sync, love it.

Though if you don't like Nixlang it will of course be a chore to learn/etc. It was for me.

1 comments

drop $20/month for any LLM and you don't even have to learn it!
LLMs are uniquely bad at writing nix configs I've found. The top models all regularly hallucinate options

Really useful for debugging though

Really? This surprises me. I've used them for projects and for my home-manager setup and it's always been amazing at it. The best example I can come up with is packaging a font I needed into a nix package for a LaTeX file. It would have taken me a month of trying various smaller projects to know how to do that.
Honestly it helped quite a bit. There are a lot of obscure (imo) errors in Nix that LLMs spot pretty quickly. I made quite a bit of progress since using them for this.
Yeah it's like 99% responsible for all of my flake files; I wasn't being facetious!