- codeberg.org/cerement
- cerement.codeberg.page
- @cerement@social.targaryen.house
- he/him or your choice of neutral
- header credit – Randall Mackey, The Lonely Cosmonaut
- 1 Post
- 3 Comments
Joined 3 years ago
Cake day: June 10th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
cerement@slrpnk.netto
Linux@lemmy.ml•What's up with all these immutable distributions? What are the benefits and disadvantages of them?
1·3 years agothe whole concept of immutable is focused on stability and safety of your system – yes, it is still possible to break an immutable distro, but it’s a LOT harder and takes some actual effort – there’s also a few concepts wrapped up into the “immutable” phrasing:
- immutable filesystem – the root filesystem is set as read only, updates are queued up and applied during an upgrade (some distros require a reboot, some don’t)
- VanillaOS keeps two copies of the root system (ABroot), upgrades the inactive copy and then swaps them out
- NixOS has everything defined in a master config file and keeps an archive of previous generations of the config file allowing you to boot into whichever generation you want
- atomicity – updates are applied individually and checked, if the update breaks then it’s reverted to the previous working state (ie. you are never left with a borked system)
- containerized apps – user space apps isolated or sandboxed in some way like Flatpaks or Docker containers or OCI so if they break, they don’t take anything else down with them
- declarative systems – the whole system (and packages and configs) are defined (declared) in one master config file – back up that config file and if something happens to your system, you just need that one file to do a full rebuild (or make an identical copy of your system on another computer) – NixOS and GNU Guix are the two more well-known in this space
- EDIT: minor side-effect of this is you can easily tell exactly what packages are installed on your system at any given time – no hunting through
historyor trying to remember what you installed last month when you were testing out video players
- EDIT: minor side-effect of this is you can easily tell exactly what packages are installed on your system at any given time – no hunting through
- immutable filesystem – the root filesystem is set as read only, updates are queued up and applied during an upgrade (some distros require a reboot, some don’t)
- NixOS has been around almost as long as Arch (20 vs 21 years)
- you can install the Nix package manager on other distros as an intermediate step to start to give you the feel of things – ie. use Arch to manage your system packages and use Nix to manage your user & GUI packages
- the Nix repository has more packages and more up-to-date packages than AUR
- two recent videos making the rounds on NixOS
- NIX OS: the BEST package manager on the MOST SOLID Linux distribution – The Linux Experiment
- NixOS is Mindblowing – Chris Titus Tech



moving overseas to Thailand