I’ve seen a lot of talks on the benefits of immutable distros (specifically Fedora Silverblue) but it always seemed to me as more of a hassle. Has anyone here been daily driving an immutable distro? Would you say it’s worth the effort of getting into?

  • russjr08@outpost.zeuslink.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I’m keeping a close eye on the various immutable distros. I’ve tried NixOS a couple of times now, but I ran into issues with software compatibility. My development tools would constantly have issues, which if I put in a ton of work I could generally workaround… Then there was some software that I just couldn’t run, and you can’t just run a standard “Linux” binary because all of the libraries that most binaries would expect, such as libc, libssl, etc are not in /usr/lib, but rather they are in the Nix store so those binaries need to be patched to search for their required libraries in the correct place.

    The final nail in the coffin for my last go around at NixOS was I need to use a specific piece of software that does time keeping for work, and it operated fine until one day it signed me out and the button to sign back in did nothing. Even when I started the program from the CLI, there were no errors. If I can’t sign in, I’m effectively not “on the clock” so that is an absolute show-stopper for me. I replaced NixOS with Fedora, and it worked perfectly fine after that. It is a shame because I quite enjoyed the idea of having a reproducible system that allowed me to blow away the system, then reinstall it, point it to a flake I built, and run a command resulting in everything being back the way it was.

    I’ve been wanting to give VanillaOS and Silverblue/uBlue a try, but to my knowledge neither of them support a dual-boot setup, and I run Windows alongside Linux for the occasional game that doesn’t work in Linux (as well as a backup environment to be able to access my tools for work, such as the scenario I mentioned earlier). I’ve heard that you can somewhat get around this by having separate drives and while my Windows install is technically on a different drive, the drive that I use for Linux also has a partition for games in Windows, as that boot drive is only a 240GB drive and I believe both of those distros require that you dedicate the whole drive to it.

    • anfieldiro
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I’m actually dual-booting ublue (rebased to it from silverblue) and windows right now. When setting it up I didn’t even know about any potential troubles lol. On my laptop they live on two separate drives with two separate EFI partitions, grub detected the windows bootloader and it’s been working perfectly (no broken bootloaders, no windows getting before grub in boot order) for about a year now

      • russjr08@outpost.zeuslink.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Interesting! I’ll have to take another look at it then. Earlier I had tried installing regular Arch (just for something quickly to install) into a VM, leaving the virtual disk some empty space (20GBs) and then tried to tell uBlue to install in that empty space (there was an option labeled “Create the new partitions for me” or something along those lines), and while it accepted that as a valid partition scheme when I actually tried to proceed with installation it failed right away giving me the error message at the bottom of this page.

        Perhaps then the key might be trying out regular Silverblue, and then rebasing that to uBlue instead of a clean install!

        • anfieldiro
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          That, or maybe giving it an entire drive of its’ own

    • 20gramsWrench@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      it’s nice to see someone who actually used it not go in the speech script throwing “deterministic” and “declarative” every sentences without ever giving a sensible use case

      • russjr08@outpost.zeuslink.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Heh, yeah… don’t get me wrong, I think that immutable distros have an attractive appeal to them the way that they’re often sold - however in my experience its been very rare to come across anything that comes with significant improvements yet doesn’t have any trade-offs or a “price to pay” especially when it comes to computing and software.

        Do I think the rough parts will shrink over time? Potentially. I mean, macOS has been basically doing this for quite a few years now with its “System Integrity Protection” and it seems to do fine… but at the same time, aside from homebrew shenanigans I never really needed to modify things outside of /Users and /Applications when I used macOS.

        I certainly would like to hear more experiences about these distros that aren’t just evangelizing immutability and mention more about their pain points like I did.