this post was submitted on 05 Jul 2024
64 points (94.4% liked)

Linux

46799 readers
1105 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I was thinking about going immutable for a long time and now I'm choosing a distro to hop to.
My question is: what are good immutable distros other than Fedora Silverblue spins, UBlue family and NixOS?
Maybe someone uses/used any? What is/was your experience with it?

you are viewing a single comment's thread
view the rest of the comments
[–] sergay@discuss.online 3 points 1 month ago* (last edited 1 month ago) (1 children)

Currently, the only projects I'd refer to as (remotely) GA are ChimeraOS, Endless OS, Fedora Atomic, Guix System, NixOS and their derivatives. The rest is, unfortunately, simply not there yet. The closest to these would be openSUSE Aeon. But, if you'd like FDE on your device, then you'd have to forego it for now. Currently, I would advice against relying on any other projects; including Arkane Linux, AshOS, blendOS, carbonOS, MocaccinoOS, Nitrux, openSUSE Kalpa, rlxos and Vanilla OS. Unless, you're fine dealing with whatever random and fringe issues you may have to face.

As for the previously mentioned GA 'immutable' distros, you don't like to pursue Fedora Atomic, NixOS and their derivatives for IMO fair reasons. ChimeraOS is primarily an OOTB console experience distro (aka couch gaming) that happens to be 'immutable'. Therefore, bending it (to become your distro for general use) will definitely be an involved process. But, it's possible. Likewise, Endless OS is somewhat locked down (beyond what you'd expect from your average 'immutable' distro) and has to be bend (at least slightly) in order for it to be more suitable as a daily driver.

This leaves us with Guix System. IMO, if you want to pursue this right now, then Guix System is simply the only remaining way of going forward. It's fit to suit whatever needs you'd have and offers access to official documentation that's at least a decade ahead of the one found for NixOS. However, don't expect this to be entirely painless; 'immutable' distros require (in general) a bit more know-how compared to traditional distros. And within the 'immutable distros', Guix System and NixOS are uniquely positioned for how 'powerful' they feel compare to (literally) any other distro. But, with great power comes great responsibility. Hence, you should definitely know your shit.

Finally, if FDE is not a hard requirement for you and if you can live with GNOME and if don't have qualms against containerizing everything and if you don't intend to tinker, then you might also consider openSUSE Aeon.

[–] Laser@feddit.org 2 points 1 month ago* (last edited 1 month ago) (1 children)

Back when I was looking to switch distributions a year ago and it came to the choice between NixOS and Guix System, the latter unfortunately lost due to lack of features I considered essential for me. These were availability of proprietary packages (notably Steam, though I guess this could be rectified with a flatpak version or something), and no support for secure boot, which was the prime reason to switch in the first place, as I wanted to enable passwordless FDE unlock on boot for my machines (at least for the desktop, this should be secure because of fTPM).

Secure Boot is a bit of a more involved process with Lanzaboote, it's not just another "enable = true;", but at least after initial setup it just keeps on working.

I recently spun up another server for various uses, one being backups using restic. According to https://packages.guix.gnu.org/search/?query=restic, it's at 0.9.6 in their repos. NixPKGs has 0.16.5. 0.9.6 turns 5 years old this year.

The other services (yes, they are sketchy, but all GPL) aren't even in Guix at all. Yes, that's a network effect, but if switching the distribution forces me write half of it myself (exaggerating here) it's not suited for my case. The Nix ecosystem has issues but at least it enables me to build the system I want. Guix unfortunately is just another GNU project that's more focused on ideals than practical reality, which, given GNU's nature, is completely understandable and justified. But probably also the main reason for why in the real world, Nix is dominant in its niche while Guix System is a footnote.

[–] bsergay@discuss.online 1 points 1 month ago (1 children)

Hi, I'm @sergay@discuss.online with another username.

I agree with your post. While, Guix System looks the best on paper (after Fedora Atomic and NixOS), it truly requires a lot of expertise from its user. So, if OP is not interested in learning Guix System and/or the Guile Scheme language for the sake of running their OS, then they should look for something else. Because, as you've noted, they might have no choice but to contribute by packaging some of the software they need for themselves.

Regarding Secure Boot, that's definitely a problem. However, not all distros support it OOTB. I might have dismissed it earlier because I consider FDE to be more important than Secure Boot. But I'm aware that this is not on technical merits.

IMO one should not dare to touch any 'immutable' distros besides Fedora Atomic and/or NixOS unless they know exactly what they're getting into and why they prefer it over Fedora Atomic and/or NixOS.

[–] Laser@feddit.org 1 points 1 month ago (1 children)

Regarding Secure Boot, that's definitely a problem. However, not all distros support it OOTB. I might have dismissed it earlier because I consider FDE to be more important than Secure Boot. But I'm aware that this is not on technical merits.

I'd consider FDE more important as well (apart from some fringe use cases). But it doesn't cover all possible attacks, as unlikely as some of them are. However, together they create a solution that is both convenient and sufficiently secure, as long as you can't just intercept the keys on the hardware.

FDE protects the confidentiality of your data in offline attacks, Secure Boot protects integrity and authenticity of binaries started by UEFI. These complement, they don't compete.

[–] bsergay@discuss.online 1 points 1 month ago

After rereading my text, I came to the conclusion that I might have given of the impression that FDE and Secure Boot indeed compete with eachother. Which, as you've excellently noted, is not the case. Thank you for ensuring that others don't misunderstand this!