41
Immutable distros and dot files / config files
(lemmy.world)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
This is the main reason I don't generally rebase on anything except versions I intend to stay on if things work well. Yes, you'll keep your files and folders, but the updated software will write to them, and those will stay there too.
For example, new versions of Firefox might make modifications to your profile directory that might not work in earlier versions of Firefox. So if your rebase gives you a newer version, than reverting will break your Firefox profile.
(Now with Firefox specifically this isn't usually a problem, since even older OS releases will have the latest Firefox versions, and Firefox itself is pretty stable too, but the concept could also apply to other software.)
Very important point.
This is also why you should not use toolbox but distrobox, and use a different home directory than your own.
Otherwise different OS versions etc. will give you dotfile conflicts like hell.
Leveraging flatpaks, as per the recommended workflow, largely negates these issues as well. Userspace apps shouldn't be impacted by the host OS changes in such cases.
It does, for the apps that are Flatpaks. But e.g. most of GNOME, and Firefox, are part of the immutable image at least for Fedora Silverblue.
I admit I typically hide the RPM Firefox and stick to the flatpak version. Aside from Nautilus though, in my experience most of the core GNOME user apps are provided via flatpak under Silverblue, including things like GNOME Calendar, Text Editor, Contacts, Totem, Evince, EoG, etc.
True; I'm mostly thinking about foundational pieces like GNOME Shell and settings, which could still wreak quite a bit of havoc. I don't actually know how often those introduce such breaking changes, but I'd rather not risk it.