3 ms·
Set up your whole system in a config file. If you mess something up you can rollback any time (or in fact boot directly into past versions). You can patch bugs
by chpatrick 3y ago
Set up your whole system in a config file. If you mess something up you can rollback any time (or in fact boot directly into past versions). You can patch bugs anywhere in your dependency tree easily. C/C++ packaging works. You can also deploy these configurations to remote machines.
- pkkm 3y ago> 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?
- RealStickman_ 3y agoNot 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.
- chpatrick 3y agoThe 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.