Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve been reading the pills (tutorials) and it’s actually been pretty nice. You just have to realize it’s more complicated than mapping JSON <> YAML.

https://nixos.org/guides/nix-pills/



Yes it is more advanced, but actually if you just think of the nix configuration language as an advanced JSON then that goes a long way in making it feel a lot less awkward IMO. Attrsets are basically JSON objects, and your final configuration is basically a huge, merged attrset.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: