Hacker News new | ask | show | jobs
by vereis 1856 days ago
This works until something does go wrong. At least with NixOS you can simply roll back!
2 comments

This is one of the reasons why I use openSUSE, it has automatic btrfs snapshots that let you roll back in case anything breaks. Tumbleweed is already one of the most stable rolling-release distros, and I haven't had anything break yet, but it's nice to have regular snapshots as an an extra layer of safety.
Fedora uses btrfs by default. I don't think that snapshots are enabled by default, but quick googling reveals some instructions which should enable snapshots for updates. I guess that might help to achieve similar behaviour.
Or, if you want to use Fedora, try Fedora Silverblue [1]. It uses an immutable root filesystem and offers atomic updates and rollbacks through OSTree.

[1] https://silverblue.fedoraproject.org/

I don't think btrfs is a shining example of Linux stability/reliability. NixOS gives me rollbacks using XFS for root.