22 ms·
With zfs and boot environments the whole rollback issue is solved. No need for nixos for that.
by mvanbaak 6y ago
With zfs and boot environments the whole rollback issue is solved. No need for nixos for that.
- Quekid5 6y agoDefinitely for most cases, yes... but 'data' is still an issue (if you care about the data). NixOS has an interesting mechnanism for separating "package" upgrades from "data" upgrades, tho, so that's a slight advantage. (They basically keep around old binaries to be able to run and back up an old database and restore it on a newer version. Straightforward file system snapshots don't really do that.) EDIT: Sorry, I feel I didn't explain this very well. The main point is: You can have multiple versions of all the software on your system, including stuff like PostgreSQL. That's actually very powerful. Another potential problem is the licensing and root-on-ZFS. Personally, I'm really looking forward to an in-upstream-kernel FS like bcachefs. (I'm actually a fan of ZFS, we use it on our servers, etc. I still feel a bit uneasy about the licensing issues and the fact that it's not in-kernel.)
- ducktective 6y agoAFAIK, nixos isn't about just rollbacks...Things like ability to declare the state of your system (with all your apps) in a single file and possibility of having two different build of the same program in the system seems very futuristic and productive to me...I mean, this thing frees us from docker/vbox. I think even the Linux kernel would be a component of NixOS and could be substituted with something else. The whole idea is just an enterprise-proposal away from getting polished around the edges.
- m463 6y agoseems like zfs would be a low-level solution and nix would be a high-level solution.