73
Arch or NixOS? (lemmy.blahaj.zone)

I've been here a week ago already asking if Arch would be fine for a laptop used for university, as stability is a notable factor in that and I'm already using EndeavourOS at home, but now I'm curious about something else too - what about Arch vs NixOS?

I heard that NixOS is pretty solid, as due to the one file for your entire system format you can both copy and restore your system easily whenever, apart from your normal files and application configurations of course.

Are there any major downsides to NixOS compared to Arch apart from the Arch Wiki being a bit less relevant? I'd also lose access to the AUR, but admittedly I don't think I've ever actually needed it for anything, it's just nice to have. Also, since NixOS has both rolling release and static release and you can mix and match if you wanna get packages from unstable or not, I'm not losing Arch's bleeding edge, which is nice.

you are viewing a single comment's thread
view the rest of the comments
[-] Unmapped@lemmy.ml 26 points 7 months ago* (last edited 7 months ago)

The downside of NixOS is bad documentation. Which makes it take quite a while to get your config setup the way you want. Its so worth it though. I used arch for 5+ years and have been on NixOS for about 6 weeks now. I'm definitely never going back. My conifg is done, I barely have to change anything now. Its all saved in a git repo so I never have to make it again. I've already switched all of my machines over. And even a few of my friends. Which has been super easy to do cause I just give them my config then remove everything they don't need. I've only been using it for a little while but it feels so reliable and Unbreakable even though I'm running unstable packages. Because if anything breaks you just go back to the last generation that worked. Which made me willing to just try anything when I was setting it up.

Also you could run Nix package manager on arch for this, but the nix package repo is amazing. It has everything i've needed or even thought about installing. And in my opinion its way better than using AUR packages. Most of the time you just DL them and don't have to build them. Its just so much faster and more reliable then using Paru or Yay. Plus there is a NUR( nix user repo) but tbh I've never even looked at it.

The other con I know of is issues running binaries and app images. But there are was work arounds for them. I use a few app-images by just running 'appimage-run '. And so far its worked perfectly. As for a binaries you can use steam-run or I think using distrobox would work. But I haven't had to do anything like that yet.

I found this YouTube channel quite useful when I was setting mine up. Vimjoyer

[-] agressivelyPassive@feddit.de 8 points 7 months ago

I found it fairly difficult to set up nixos on one of my machines, because it simply didn't ship with a certain, relatively common kernel module/user space app. I also couldn't find a usable workaround (only compiling my own kernel on every update, which is not exactly my kind of fun).

So, you might want to try that out first.

[-] OmnipotentEntity@beehaw.org 4 points 7 months ago

Out of curiosity, which one?

[-] noli@programming.dev 2 points 7 months ago

https://nixos.wiki/wiki/Linux_kernel

You can specify custom parts of the config that enables that module and/or extra module packages.

If you specify a custom part of the config then ye sure you'll be compiling the kernel on each kernel update but you don't need to manually configure it

[-] PipedLinkBot@feddit.rocks 1 points 7 months ago

Here is an alternative Piped link(s):

Vimjoyer

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

this post was submitted on 03 Dec 2023
73 points (86.1% liked)

Linux

45531 readers
1236 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS