Hej lemmings! (Hoping this is relevant enough for the selfhosted commjnity)
Quick question for you all: do you stick with the same distro across your PC, laptop, and server, or do you pick different ones based on the device and what you’re doing?
For me, I’ve been mixing and matching depending on the use case, but I’m starting to think it’d be nice to just have one distro (or at least one family like Fedora or Debian) running everywhere. That way I wouldn’t get confused about default settings or constantly have to look up flags for different package managers.
Right now my setup is:
- Gaming rig: CachyOS
- Laptop: AuroraOS
- NAS: Unraid
- Various project servers: DietPi, Debian, Alpine etc…
I feel like NixOS might be the only distro that could realistically handle all these use cases, but I’m a bit scared of the learning curve and the maintenance work it’d take to migrate everything over.
Am I the only one who feels like having “one distro to rule them all” would be nice? How do you guys handle your setups? All ears! 😊
Servers are all Debian. Family member’s laptops are all Debian. I used Debian on my laptops for 20 years, but when Steam Deck switched to Arch, I switched my laptop to Arch to force me to learn it. I have a file with notes of differences between Debian and Arch. Next time I buy a new laptop, I will probably go back to Debian.
Same but a ubuntu-derivative instead of Arch.
I don’t want to think about my server, but I do sometimes want the latest and greatest app on my laptop.
I would use Debian for servers, except that the version of Podman (at least on Debian 12) was old enough that it couldn’t do quadlets. So I went with Fedora.
Servers are debian, desktop debian. Why swap when you found the best already? 😁
I guess technically steam deck is not on debian, but I didn’t choose it so it doesn’t really count.
Yep. Debian. I like
apt, and I like shit that just…works. Very form after function. So what if a bunch of packages are on “old” versions. They work. The kernel works. KDE Plasma works. I can do everything I want to do without having to constantly be on the bleeding edge. If you prefer newer things, great. I prefer older, proven things. That’s also why I drive Toyota cars and Honda motorcycles.My Proxmox cluster runs…uh…Proxmox, which is based on Debian. NAS runs OMV which runs on top of Debian. Laptops all run Linux Mint Debian Edition, and so does my 5800X3D/7900XTX gaming PC. The only non-Debian machines in my house are my wife’s iMac and Macbook Pro, and the Home Assistant mini PC.
That’s the same philosophy I’ve applied for a long time. Recently, I found out that gaming is an exception to the rule, though. While older versions are just fine for the most part, there are edge cases where that no longer applies. I also found out that I care about one of them. Until you hit that brick wall, there’s no reason to switch. Just keep on using Debian for everything.
Took me a while to realise that I was spending way too much time figuring out workarounds instead of actually gaming. I ended up using Bazzite in my gaming rig because it works so well for that purpose.
Yes. Everything is NixOS. Because it’s perfect for everything.
What is the learning/on-boarding curve for this?
I ask because my home folder has a giant just file I use to script everything. I feel like I’m 80% there to just migrating.
It’s a very steep curve to start, with some additional minor steep parts along the way, but it’s not a long curve. Once you got the core concepts and the basic language constructs, you’ve learned most of what you’ll ever need.
Two nice resources: search.nixos.org is super handy, and you can search GitHub with language:nix and a search term to get tons of examples from other people.
Oh, and nix and just is actually a pretty common combo!
Nice, I’ll have to remember that GitHub trick. The main thing I’ve found lacking so far is config examples.
I’d say that if you’re an experienced developer, the learning curve is probably overstated, at least based on my limited experience. I’m still a relatively new user, but I’m feeling pretty comfortable with it so far.
Hitting obscure issues with limited documentation and barely any forum discussions on it in search results is killing me though. But at the same time NixOS makes a lot of things incredibly easy and offloads having to remember any changes so it’s worth all the effort for me.
And it’s very handy for this, I have the same config for all my devices (desktop, laptop and server). Enabling and disabling different modules depending on the host it’s deployed to.
Yep, exactly.
To be fair, if you use Debian, Arch, Fedora,… long enough, you also know how to tweak your machine for every purpose. In Nix, it’s just somewhat of a self-fulfilling prophecy, because you have to know how to tweak your system to achieve… anything, and then it’s the same tweaking mechanics for every other purpose as well.
Same here, except the steam deck.
My Steam Deck also runs NixOS.
Because this way I can much more comfortably configure it, plus everything game related I automated through nix for my Desktop (e.g. mod installs, reShade config,…) immediately and without any extra steps also applies to the Steam Deck.
I’ve converted everything to NixOS (Desktop, laptop, nas and 3d printer, rpi with home assistant) only my router is still pfSense (and thus BSD). It just makes configuration and updating so much easier from one central configuration. And I don’t have to remember what and how I installed something. It’s just there in my flake.
I haven’t looked at Nix in detail but you got me interested for 3d printers in particular, already have my klipper config in git if an SD card fails on me, going to have to look at doing that for the os too.
I love it for using klipper. But when I started doing it the klipper pkgs did give me some troubles. You can work around them, but know you might find some issues on the way. Maybe it’s better now, I haven’t really updated that part of my config much recently.
Do know that not all arm devices are equally supported. rpi 3 and 4 are, the rest is community based (see: https://nixos.wiki/wiki/NixOS_on_ARM). Personally I run klipper on a x86_64 thin client for this reason and because raspberry pi’s were scarce and expensive back then.
How quick could you pick it up? And how does it handle one config for different devices (due to different hardware(fstab/cryptsetup differences), propietary/non-mainlined drivers?
I have been thinking about switching because I’d love a reproduciable system but fear it would take some of that flexibility I rely on (I’ve had some issues with ftstab/cryptsetup and initramfs customizations on the fedora atomic base of bazzite on my steamdeck).
I have to be honest and say it was a journey. Nix in itself isn’t really difficult I find. But everything together and finding the right documentation and figure out how NixOS comes together can be a bit daunting.
But a simple straight forward config is pretty doable. My advice is to start small and build up. You can reuse your old dotfiles and include them in the configuration directly, so you don’t have to convert everything to nix (right away). Also don’t scare away from using flakes, they are the way to go in my opinion.
You can define multiple hosts/systems in one configuration with each their own
nixosSystemcall. So you can define hardware/fs/network etc per system.Also I like to add that the vimjoyer video’s on nix helped me with understanding some of the concepts, They are usually short and straight to the point.
I love how this post doesn’t even pretend that anyone may use anything but Linux. Classic Lemmy.
Whoa, that’s completely untrue buddy.
Some people here use BSD-based systems.
I don’t see anyone here saying “actually I use BSD” so it seems to have been a safe assumption
Self-hosting on Windows Server is a pain I don’t need in my life.
i do use freebsd :) and occasionally win7/10…
usage goes like freebsd >>> linux > m$win
Alright, windows users, do you run the same version of windows on all your devices? Yes? Oh how surprising.
Fedora KDE for anything I need a GUI for, Debian for anything headless.
I’ve used damn near everything else in 30 years of Linux, but I’m pretty sure my tombstone will run Debian.
Debian on my servers. No drama, it just works.
Fedora on my laptop and desktop. Still solid, but quicker updates.
The machines I use regularly are all some form of ArchLinux (currently mostly CachyOS). Machines I use rarely I stick to LTS distros with few updates. Machines I don’t maintain myself I try to stick to immutable distros that just update themselves every once in a while (less chance of breakage).
Arch on user PCs and Debian on anything else. This is with the exception that our big server is on Proxmox and the NAS (as well as off-site backup) are on unRaid.
Tbh I still consider Proxmox as Debian, so you’re pretty much there ;).
I actually agree, I just broke it out for this discussion.
I’m kinda with you, with a slight change: raspberrys that can’t run Arch Linux on Arm run Raspberry Pi OS, so, almost Debian.
Everything else: Arch.
(Oh… and pfSense on FreeBSD… but let’s not muddy the water)
Oh, good call out. I’m also running OPNsense which is a BSD system.
I do, but it’s more out of laziness than anything else. I hate having to remember sixteen different ways of doing things, so I tend to configure all my stuff as identical as reasonably possible. Is this the best way of doing things? Probably not. But it keeps my blood pressure down.
Yes, Debian. It’s called the universal operating system for a reason.
Same, literaly only have bazzite and android on one device each with everything else being Debian.
Although I have been thinking about switching to Nix for a more robust backup/restore setup.
It’s called the universal operating system for a reason.
If they call themselves that, it really doesn’t count. It’s like how trump ended like 10 wars to get his FIFA peace medal.
Oooh, look at mr. Rich guy here with multiple devices.
/s… (not really, cries in only computer being a dying laptop from 2011 with no way to get even just another dying 2011 laptop when this one dies.)
NixOS home server, gaming PC will soon move to Bazzite from Windows 10 (whenever I’m done working on my home server). I’m trying Bazzite for that machine because I use it more like a game console hooked up to the TV and don’t need the same level of tweaking and customization.
yes. Everything is Fedora Silverblue, except servers they are ubuntu on proxmox.
My hobby is gaming, linux is just a means to do that hobby, not a hobby itself.
Your comment intrigues me… I need to switch, but I’m like you…gaming is my hobby, not OSes. You make it sound like it’s plug and play as far as gaming goes?
For me, I am running EndeavourOS on my laptop (for its rolling release updates and its customisability) and Debian on my homeserver (for its stability). I have also set up a secondary laptop with Linux Mint that is now being used by somebody else for its ease of use :)









