this post was submitted on 01 Nov 2025
13 points (100.0% liked)

Linux

9996 readers
387 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
 

Is there anything obviously wrong or bad about the idea to just use whatever distro you like on bare metal. Like rolling release to get the fastest updates or immutable to make it rock solid. And then just use distrobox or toolbx with Debian and maybe Arch to run software your base distro does not provide?

I run Fedora right now but want to switch to something else. I was thinking about Tumbleweed a lot but there is quite a big portion of software which does not ship on Tumbleweed. (Theoretically you could download the .rpm file which quite a few developers provide on and install it on Tumbleweed too? But I am not 100% sure about that so please correct me about that if I'm wrong.) So I thought about Nix but the drama around that distro made me loose interest. Obviously Arch is also an idea but I don't like my base OS to be a project itself so I'd rather not use it for now.

And yes I thought about installing homebrew or nixpkg or pixi or whatever the name of the next new package manager is. But nearly all of them are only installable by executing a script and I don't feel comfortable doing that. Would it be safer to run scripts like that in a distrobox/toolbx?

So yeah, my initial question was wether it is viable to just choose any distro and get along with distrobox to get your software from the AUR or through .deb packages. But the question developed if it would be wise to use distrobox to execute random internet scripts without altering your base OS/putting your data to risk.

you are viewing a single comment's thread
view the rest of the comments
[–] Oinks@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago)

But that still leaves the question: How to install Nix in the first place? Without just running the script.

You can download tarballs with the precompiled Nix, though you'll still need to run an install script (but you can at least read it to convince yourself it's not malicious), see the relevant documentation for that.

Something that slipped my mind is that since OpenSUSE uses SELinux now, that means the recommended multi-user mode won't work. Single-user mode should be fine afaik, but it's a bit less convenient.

This command just runs the software once without actually installing it right?

The nix-env -iA does actually install the software locally, not completely unlike how a zypper in would. For running a program without installing you would use something like nix-shell -p yazi --command yazi. Of course that still downloads and "installs" the program, it just won't add it to your PATH or create a GC root, which means the next time Nix does "garbage collection" it will be removed again.

And yeah I would recommend just trying OpenSUSE out and then if you realize you actually really do need stuff from third party package managers, then you can worry about whether getting into Nix is a good idea or not. Or fall back to the Arch/AUR in distrobox idea which is probably simpler to do overall, especially since from what I understand that's what you're supposed to do on the immutable spins like Aeon.

Late edit: I'll also note that there are several OpenSUSE specific third party repos too. Packman has some proprietary codecs that OpenSUSE doesn't want to ship (in case you really don't want your browser to be a Flatpak), and the Open Build Service (OBS) which is basically the AUR for OpenSUSE. They're not as useful because they're nowhere near the size of the AUR, but if you just need one specific package (perhaps one with questionable legality like yt-dlp or something) they might just have it. And of course you can also build stuff from source and put it in your ~/.local/bin, which has been common practice since before Linux was able to run on real hardware.