this post was submitted on 23 Oct 2023
88 points (92.3% liked)

Linux

45460 readers
1891 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
 

Hey! I’m currently on Fedora Workstation and I’m getting bored. Nothing in particular. I’ve heard about immutable distros and I’m thinking about Fedora Kinoite. The idea is interesting but idk if it’s worth it. CPU and GPU are AMD. Mostly used for gaming.

top 50 comments
sorted by: hot top controversial new old
[–] ikidd 45 points 8 months ago (1 children)

If you're bored, try Nix. It has all the characteristics of an immutable distro, aims for reproducibility, and is complicated enough to keep you amused for months.

[–] [email protected] 9 points 8 months ago (1 children)

Yeah I was thinking about it. Just feels like it might be too much for just day to day use. Without programming and having to reproduce the system on different machines. At least that’s what the comments say in few places lol

[–] ikidd 15 points 8 months ago (2 children)

Yah, I get that. But lots of people use Nix as a daily desktop driver because it's immutable. It's not hard to set up the first time with some example configs, and if you want to get more complicated, it's certainly an interesting direction and great time sink.

Frankly, I'd try it in a VM first, so you can snapshot it and play, and see what you think. I don't use it myself but I've set it up a few times and it's pretty cool to play with, I might get around to putting it on one of my bare metal desktops one day.

[–] [email protected] 10 points 8 months ago (1 children)

Ugh stop tempting meeee lmao tbf if I set it up in a vm it’d be painless to move to bare metal since I’d have a config already

[–] ikidd 11 points 8 months ago (1 children)

Give in to the dark side, Luke.

[–] [email protected] 7 points 8 months ago

I can’t, I’m reading Nix’ docs

load more comments (1 replies)
[–] [email protected] 34 points 8 months ago* (last edited 8 months ago) (1 children)

I see many people here wondering, why they should consider an immutable system.
As someone, who thought the same a few months ago, and now chose Silverblue, here are reasons why:

  • Atomic updates: never worry about half applied installations anymore. Either your OS updates successfully, or it will just work like before.
  • Less bugs and better security: every install is the same, so devs can fix one bug or exploit, recreatable on every system.
  • Automatic updates (configurable): they get downloaded by the way, without you noticing. And if you reboot anyway, you boot into your updated OS. No waiting times. The system manages itself.
  • Way harder to break
  • Changes are easily undoable: if an update breaks anything, you can just select another image and reboot, without recovering anything.
  • No junk accumulation over time, the OS is kept clean
  • Clear distinction between "your" stuff and the OS
  • You can "swap out" the base OS cleanly and keep your stuff. Want KDE? No need to reinstall, just paste one command and delete everything Gnome-related, and you are now on Kinoite.
  • Flexibility: choose between dozens of different images, like one that replicates SteamOS or Ubuntu, has the MS Surface kernel build in, offers Hyprland, and so on...
  • And much more!

My #1 reason is, that everything is worry free.

Those advantages above don't apply to "normal" OSs, even, if I keep everything in Distrobox and Flatpaks.

Immutable OSs aren't called "The future of Linux" without reason. They usually shouldn't impair anyone, and make the whole Linux ecosystem better in any aspect.

[–] [email protected] 16 points 8 months ago* (last edited 8 months ago) (7 children)

I'm sorry but none of the above sound different from a regular distro. Maybe I haven't got the gist. You can have snapshots and atomic updates on a regular distro, you don't have to reinstall to switch from Gnome to KDE, I can install all kinds of stuff cleanly anyway thanks to package managers, I don't use root often so the system files are effectively read-only as far as I'm concerned, and so on.

As far as security is concerned I don't see the big deal, I mean I get why a read-only OS would in theory be harder to break into but it can still be modified for updates so I guess it's not really "immutable" after all.

What am I missing?

Edit: before anybody points it out, I do know about the rebase layers and I think it's an interesting approach, but ultimately still gets the same results as packages. It may be helpful for distro builders but doesn't make much difference as a user.

[–] [email protected] 8 points 8 months ago (1 children)

You're correct. But, and here's the big but, the whole immutability-thing isn't something the user should be worried about at all.

On Android for example, the system is read-only too, and pretty much nobody cares too, because it was always designed this way and it doesn't inhibit functionality.

It is mainly a big pro for developers in how I see it. See, every installation creates some package drift. One dependency here, one extra program there, no problem.

But in sum, there will accumulate hundreds of "bloat"-packages over the years, which add many unknown vulnerabilities and bugs that are completely individual to your setup.
And then it will begin: a program crashes here, there's your black screen, and every dev on the issue report says " closed, can't replicate". And after an OS-reinstall, it works again.

And if you want to install KDE on Pop!OS for example, it is highly individual and there are still some packages you didn't see, and it will be very buggy. Some buttons that are misalligned, misconfigured drivers, and so on.
I tried changing the DE on my normal Fedora one time and even though I thought I did everything correct, I had to reinstall due to screen tearing/ flickering, many misconfigurations, and so on.

On Silverblue, it's a process of 5 minutes max, and then my setup will be the same as the one from thousand other people.

load more comments (1 replies)
load more comments (6 replies)
[–] [email protected] 17 points 8 months ago* (last edited 8 months ago) (4 children)

I can't recommend Silverblue enough.

Thing is: on the "surface" it's not that much different than the "normal" Fedora and it's spins.

So, if you want something hugely different on the base, I'd recommend NixOS instead. Nix feels like "the new Arch" for me and is the tinkerer's dream. It appears to be very complicated too, so it should keep you "not bored" as you said.
I personally wouldn't use NixOS though, as I am just a "casual" user and don't want to over-complicate everything.

I personally am very happy with Silverblue, especially due to one reason: the ability to rebase to many many images.
As other commenters have stated, there's a project called uBlue.
It allows you to swap out the base OS (everything except "your stuff") with one command, so you can rebase to many different community spins and different desktops cleanly.

The uBlue base OS is just Vanilla SB with some QOL stuff added, like codecs and other stuff. It is really a "just works" distro, that manages itself and functions in the background without you noticing.

The other spins give you different DEs, preconfigured drivers, opinionated approaches to different DEs, a SteamOS clone, and so on...

Absolutely great, 10/10

load more comments (4 replies)
[–] [email protected] 17 points 8 months ago (1 children)

Hi! I've been using Fedora Kinoite (and now Bazzite Desktop) for about a year.

I'd say bazzite desktop would be a good fit for you if you want to give an immutable desktop a try. It automatically sets up an arch distrobox for steam and lutris, it even has one click installers for things like oversteer in the post-install welcome screen, it auto-updates and is generally just quite a nice improvement on based Fedora Kinoite.

Immutable distros ARE used differently, you will mostly use flatpaks for basic apps (Although a lot of people do that anyway), but any traditional packages you want to install will be done in distrobox. You CAN overlay packages to the base system, but it should be seen as a last resort.

Let me know if you have any questions :)

[–] [email protected] 4 points 8 months ago (1 children)

Interesting. Standard question, why Kinoite and why Bazzite over others? Aren’t you worried bazzite is more bloated than pure Kinoite? Or is that just my mutable distro fear lol Any resources about distrobox/layering etc you recommend?

[–] [email protected] 7 points 8 months ago (4 children)

I use Kinoite over silverblue and other Fedora versions simply because of the desktop. I choose Fedora atomic over other immutable distros because I simply think it's the easiest/most convenient. VanillaOS might be pretty good, but from what I can tell it's on an Ubuntu/Debian update schedule which isn't what I want. I tried NixOS but it's complexity just wasn't appealing.

I use Bazzite over Kinoite because it has all of the tweaks I want, honestly the amount of "bloat" isn't as crazy as you'd imagine.

I don't have any resources about distrobox unfortunately, but I'm sure they're around.

load more comments (4 replies)
[–] [email protected] 10 points 8 months ago (2 children)

What do you mean by bored¿? Because you will be similarly bored by silverblue or kinoite. They are built to be stable and somewhat boring

load more comments (2 replies)
[–] [email protected] 9 points 8 months ago (7 children)

Why do all these immutable distros not support use of secure boot and/or TPM. If there was one that made it a breeze to configure this and made using my AURs easy as well I probably could give immutable a chance. But ATM it all looks like I'll have to wait until a major corp like Ubuntu made & supported an immutable version so we can get these quirks hashed out.

[–] [email protected] 5 points 8 months ago (3 children)

I believe Universal Blue supports Secure Boot, since they specifically went to make it work for even Nvidia users - I'm assuming it works similarly for the non Nvidia variants or maybe just uses Fedora's default keys? I'm not too well versed in how SB works.

Then it also comes with Distrobox so you can just spin up an Arch container and use AUR apps through there.

load more comments (3 replies)
load more comments (6 replies)
[–] [email protected] 8 points 8 months ago (1 children)

I think they have a place, but personally speaking, I feel they stifle tinkering. So they're a "no" for me.

[–] [email protected] 8 points 8 months ago

I feel the exact opposite -- I feel like they encourage tinkering in their own way, since they offer the ability to much more easily roll back to a known good configuration.

[–] [email protected] 6 points 8 months ago* (last edited 8 months ago) (1 children)

If I didn’t enjoy tinkering, I would use one of the immutable distros, or at least the Fedora versions.

I personally don’t like that they feel like Android or Chrome OS, but I know that is also the draw to them for others.

[–] [email protected] 4 points 8 months ago* (last edited 8 months ago)

You can still tinker!

NixOS is pretty complicated, but in my eyes the next-gen Arch.

And Silverblue is still be able to be tinkered with.

See, on immutable systems, you don't change the system itself, but the next image.
Similar to PDFs: you shouldn't change the PDF, but the original document and then export the PDF again. PDFs aren't bad, but they aren't designed to be edited, and that's their pro.

And with Project uBlue you can create custom images how you want.
You like Hyprland? There's an image exactly with that! You see what I mean :)

[–] [email protected] 5 points 8 months ago (1 children)

Been playing with that Bazannite (sp?) Variant, it works fine, but i am still undecided if learning the ins and puts of it are worth the switch from my Pop_os install.

There was a little bit research and learning to do some tasks, but nothing surprising.

it does seem it boots much slower than my pop_os install, but I think I have it installed on an internal Hybrid HDD that i not yet replaced with a SSD, so that may be the cause.

pop_os boots amazingly fast, not sure what they do to it.

and having to reboot to get stuff updated/installed is a bit annoying, the ability to roll back is the trade off I guess.

However I can't really think of a time that I needed to roll back, perhaps I am just lucky. So the entire roll back feature is something that I don't know if I will ever actually use.

good luck.

load more comments (1 replies)
[–] [email protected] 4 points 8 months ago

If you are bored, no reason to change hahaha. If you want an always running system, use Kinoite.

[–] hperrin 4 points 8 months ago (2 children)

I tried VanillaOS a while ago and was able to get everything working with my usual setup. I think it has the best approach, and when their v2 comes out, I’m probably gonna switch from Fedora.

[–] [email protected] 3 points 8 months ago (1 children)

What made you choose VanillaOS over Fedora spins?

[–] hperrin 6 points 8 months ago* (last edited 8 months ago) (3 children)

The fact that I can install anything from any distro in their container setup. It makes things really easy to use with wonky stuff that, say, only works with Ubuntu.

I know you can do the same with other tools, but that’s just how their OS works in the first place.

load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 3 points 8 months ago (3 children)

Immutables are an amazing idea. I just wish Arch (EndeavourOS) had it.

[–] [email protected] 6 points 8 months ago (1 children)

Isn't SteamOS immutable and Arch based? Surely there's also a more general purpose distribution that does that.

load more comments (1 replies)
[–] EuroNutellaMan 4 points 8 months ago (3 children)
load more comments (3 replies)
[–] PainInTheAES 4 points 8 months ago* (last edited 8 months ago) (5 children)

There is AstOS although I haven't tried it personally and I'm not sure how well it works.

load more comments (5 replies)
load more comments
view more: next ›