46
submitted 1 year ago by raptir@lemdro.id to c/linux@lemmy.ml

I recently switched my server over to running Plex and Home Assistant in Docker. I like the ease of transfer (just move my compose file and one directory where I have stored all the configs and I'm set) as well as the simple permissions management to give access to directories.

I have only used Fedora briefly, but I am considering it instead of my usual openSUSE because it is "officially supported" for the Framework 13 I have on order. I saw the immutable versions and the idea seems cool though I don't really understand what new I would need to learn or really what benefits it would have.

Is the concept overkill for a single-user laptop?

all 17 comments
sorted by: hot top controversial new old
[-] thayer@lemmy.ca 12 points 1 year ago

Longtime Debian and Arch veteran here. I moved most of my workstations to Silverblue earlier this year (maybe 8 months ago now), and I've been very happy overall.

There is a bit of a learning curve if you aren't familiar with Flatpak or container-based workflows, assuming you wish to embrace those elements, but the curve is nowhere near as steep or unconventional as NixOS.

I love the automated updates. The flexibility to rebase or rollback the core OS on the fly, without any extra work, is great too. For example, it's very easy to test out beta releases, remixes, and preconfigured software bundles like uBlue.

I still use Arch for 99% of my command line tasks, inside a container managed by distrobox.

I strongly believe that Flatpak is the future of Linux software deployment, and although the format still has its kinks, it is already quite mature and will only get better as more and more upstream developers adopts its use.

[-] alt@lemmy.ml 7 points 1 year ago* (last edited 1 year ago)

Am I going off the deep end by considering Fedora Silverblue or Kinoite?

I started my Linux journey on Kinoite, which unfortunately had some issues at the time of installing; after which I rebased to Silverblue, I have since 'mained' Silverblue while experimenting with a couple of other distros through dual-boot or on spare devices. The first two weeks were really hard as I literally knew nothing about Linux. The fact that documentation is -generally speaking- lacking doesn't help either. But if I was able to surpass that initial barrier, then I'm sure you can too.

But, motivation is important! Why do you even consider an 'immutable' distro?

I don’t really understand what new I would need to learn

You'd have to replace sudo dnf install *package-name* with flatpak install *package-name*. If, however, the package is not available as a flatpak, then -following Fedora's initial guidelines- one should install it within a container through Toolbx(/Distrobox). After a container has been created (toolbox create *pick name for container*) and entered (toolbox enter *chosen name for container*), one simply behaves within the container as though how they would in a traditional distro. As a last resort -in case installing within a container is not possible, well supported or doesn't work as intended- one can layer it (rpm-ostree install *package-name*).

Furthermore, /usr can't be touched (at least not easily), except for /usr/local. And some features, like UKI, aren't supported yet.

or really what benefits it would have.

  • Updates are atomic; it either happens or doesn't, there's no in-between state. Even a power outage or a random crash doesn't change that. This ensures your system isn't broken if something unfortunate befalls it.

  • Additionally, the system (for the most part) is reproducible; I can rebuild my system from scratch (barring configs; unless your dotfiles management is sublime) and it is exactly the same as the one that has been running since the inception of Silverblue. Cruft, state, bitrot etc can finally be left behind..., but we're not their yet. There's still some amount of these present in Silverblue's current model. But we're embracing OCIs and Silverblue's primary contributors know what's up over at NixOS and (hopefully) are working to make Silverblue ever so slightly more stateless. Even if a lot of work is still required, it's infinitely better than the traditional model as it has gone from an uncountable amount of possible states to a countable amount. And the mathematicians under us know that such an improvement is infinitely times better. Another benefit of where we are currently with reproducibility would be that it allows us to combat bugs effectively.

  • Security benefits due to more parts of the system being read-only. This is however (somewhat) offset due to lack of the aforementioned UKI support. Hopefully, the well-defined nature of an image-based distro will eventually make more robust system-integrity checks possible.

  • Not necessarily exclusively granted through/by 'immutability', but system maintenance has been a joy. Most of the time, it just works anyways. But, if somehow something breaks, then I can easily rollback; either through the terminal if I was able to get inside. Or through the GRUB-menu if the 'broken' deployment doesn't allow me to get inside. Furthermore, you can even pin a confirmed working deployment through sudo ostree admin pin *number* to select the deployment to keep around for longer. I recommend everyone to keep around their first deployment after installing Silverblue, if used wisely it's one of the closest things to a factory reset we've got within the Linux space.

Arguably there's a lot more to talk about, but these are probably the primary benefits.

[-] tony@lemmy.hoyle.me.uk 6 points 1 year ago

If it's fun, it's not overkill!

You also have experience you can use in the workplace (even if it's mostly experience of what happens if you f**k things up).

[-] BennyHill500@hexbear.net 5 points 1 year ago

If you wanna switch to Silverblue, i would highly recommend the universal blue images, they have a whole bunch of different DE version, specialized versions for example: bazzite for gaming, and they also have framework specific images for most of them.

with ublue i dont have to layer a single package over my basic image (silverblue-nvidia).

All the apps are installed as Flatpak, except the ones that dont have one run on Distroboxes (distrobox is included in ublue images and highly recommended over the default toolbox in silverblue)

https://universal-blue.org/

[-] jakepi@beehaw.org 3 points 1 year ago

Have you checked out OpenSUSE MicroOS at all? It's similar to Silverblue. Runs great on my Framework 13 with Intel 13th Gen.

I wouldn't be too concerned with "officially" supported Linux on the Framework. It is a very Linux friendly machine. The folks they have supporting Linux are active in the Framework forums and very helpful.

I eventually went back to my tried and true Debain. I loved the immutable OS thing for all the reasons people have listed here. My one issue was direct access to external devices can be a pain. IE: I just could not get USB passthrough working with virt-viewer after all my fiddiling.

[-] Skelectus@suppo.fi 3 points 1 year ago* (last edited 1 year ago)

Tried it before, but went back to normal version. I recall it being slightly limited in package availability and some apps requiring extra fiddling.

Maybe it'll be fine for your use case, though.

[-] stella@lemm.ee 2 points 1 year ago
[-] MalReynolds@slrpnk.net 2 points 1 year ago

I like Kinoite, have been happy for a year or so (how time flies). Pretty bulletproof, automatic updates and rollbacks, lotsa good stuff. One minor but relevant gotcha is it doesn't like docker particularly much, I found the path of least resistance was to move to podman (which is more secure, can be easily turned into (--user) system.d units and has a cool auto update feature), podman-compose is your friend...

[-] woelkchen@lemmy.world 1 points 1 year ago

If Fedora runs fine, I see no reason why openSUSE wouldn't. Friends of mine use regular Manjaro with the same Framework. Just keep using openSUSE if that's what you feel most comfortable with.

I used Silverblue for a bit but got very annoyed by its rpm-ostree command. I think it's too complicated for a simple single user setup.

[-] Sentau@feddit.de 1 points 1 year ago

Why did you find the need to use the rpm-ostree command¿? Isn't the purpose of immutability to use flatpaks and containers to get all your apps/software

[-] woelkchen@lemmy.world 1 points 1 year ago

How to update the base OS then?

[-] Sentau@feddit.de 1 points 1 year ago

Well for me it auto updates and stages in the background. There is config file /etc/rpm-ostreed.conf in which you can set the AutomaticUpdatePolicy to stage. Then it will automatically check for updates once a day(I think) and will download and stage it. The update is then applied when you shutdown or reboot

[-] woelkchen@lemmy.world 1 points 1 year ago

If things changed for the better, great. Still think that for a single user setup Silverblue is a bit of an overkill.

this post was submitted on 05 Nov 2023
46 points (96.0% liked)

Linux

48317 readers
718 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