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

> Set up your whole system in a config file.

How does NixOS compare to the usual way of doing this, which is to manage your personal computer with Puppet, Chef, or a similar tool?



Not sure about those two you mentioned but Ansible as a similar tool does not have state. It needs to run every command and check what changed. Nix, from my understanding, does have state so it can be more efficient.


The cool thing about Nix is that everything is compiled into a big immutable content-addressed store. Then switching the configuration is a matter of ensuring if that particular config has been built and switching some symlinks to the right place in the store.




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

Search: