this post was submitted on 02 Sep 2025
748 points (99.2% liked)

Linux

9262 readers
446 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] malloc@programming.dev 34 points 2 days ago (3 children)

I have found myself deep in the Nix and nixOS ecosystem myself.

[–] elvith@feddit.org 40 points 2 days ago (1 children)

Somehow I feel like mentioning Nix and NixOS is the new 'I use arch btw'.

(No offense, but reading the 'I use arch btw' and then your response right after made me realize this)

[–] pivot_root@lemmy.world 28 points 2 days ago (1 children)

Somehow I feel like mentioning Nix and NixOS is the new 'I use arch btw'.

"I use Nix btw"

Rolls off the tongue in the same way. And, honestly, "I use Arch btw" just isn't the same hipster know-it-all contrarian meme that it used to be. It has a graphical installer now, and a popular retail device (the Steam Deck) comes with a user-friendly derivative of it installed out of the box.

Meanwhile, NixOS has a huge learning curve that's off-putting to most non-technical users and even Linux hobbiests. I mean, really—having to configure everything through a functional programming language masquerading as a configuration file format? That's just the kind of thing that would attract masochists and pedants!

I use Nix btw.

[–] noxypaws@pawb.social 7 points 1 day ago

I just left nixos after about two years, and now on cachyos (arch). nixos is pretty cool in a lot of ways, but trying to stay on the bleeding edge of packages and kernels means living in nixos-unstable land, where broken builds are common. and I just got tired of it all.

[–] chellomere@lemmy.world 14 points 2 days ago (1 children)
[–] pivot_root@lemmy.world 11 points 2 days ago (1 children)

Fun fact: if you have a Steam Deck, Nix (the package manager) is pretty much the only vendor-approved way to safely install extra packages that aren't otherwise available as a flatpak.

Trying to screw with overlayfs to make pacman usable is/was a thing, and it was a very good way to break the OS install despite it having atomic updates.

[–] prole@lemmy.blahaj.zone 2 points 1 day ago* (last edited 1 day ago) (1 children)

Does Steam Deck not have rpm-ostree (or an arch equivalent since RPM is fedora-specific)?

Needs "pac-ostree" or something...

Also, what about distrobox?

I haven't really tried to do anything package manager-related on my Deck, so I'm going on what I know from Bazzite, but there are several ways to install non-flatpak software on it. In fact, I even installed yay on an Arch distrobox, and I can install things from the AUR (as well as the official repositories).

[–] pivot_root@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

Does Steam Deck not have rpm-ostree (or an arch equivalent since RPM is fedora-specific)?

Steam Deck has a custom solution involving an A/B partition scheme of immutable btrfs filesystems and overlayfs for layering changes on top of that.

Also, what about distrobox?

If there's a way to install containerization software with Flatpak, maybe. Docker isn't available out of the box, though.

I haven't really tried to do anything package manager-related on my Deck, so I'm going on what I know from Bazzite, but there are several ways to install non-flatpak software on it. In fact, I even installed yay on an Arch distrobox, and I can install things from the AUR (as well as the official repositories).

You can use pacman, but it's volatile and requires making intentional changes to restore its functionality.

The first option is to disable the read-only flag on the root filesystem, then set pacman back up so it can pull packages. Whenever the root filesystem image is updated, you'll lose the changes, though.

The second option is to add an overlayfs to persist the changes in a different partition or inside a disk image on the writable storage. There was a tool called "rwfus" that did this, and it worked well enough if you were careful. If you ended up upgrading a package that came installed on the base image, though, it would end up breaking the install when the next update came around.

With all the caveats, when Valve made /nix available as a persistent overlay a couple of years ago, I just bit the bullet and learned how to use Nix to install packages with nix-env -i.

[–] prole@lemmy.blahaj.zone 4 points 1 day ago* (last edited 1 day ago) (1 children)

Huh, interesting. Thanks for the info

Distrobox works really well in Bazzite, in fact I'm currently typing this comment in LibreWolf in a Fedora toolbox because I was getting a weird lag with the flatpak version. You wouldn't even know if you didn't set it up yourself, since it's just an icon on my launcher like any other program. No noticeable overhead whatsoever either.

[–] quarterlife@lemmy.sdf.org 4 points 1 day ago (1 children)

SteamOS also ships distrobox OOTB now, so you can use this anywhere.

[–] NostraDavid@programming.dev 9 points 2 days ago (1 children)

NixOS isn't great for non-programmers, I bet, but for programmers it's amazing.

[–] DegenerateSupreme@lemmy.zip 5 points 2 days ago

I’m just now starting my degree is software engineering. I’m 31. I’d gotten comfortable enough with Linux that I wanted to try NixOS to avoid having my system get borked again (in my case, KDE Plasma started having shell crashes at log in).

If I was only using NixOS to run a basic computer set up? Sure, no problem. If I want to rice and customize it? No, I wasn’t ready.