this post was submitted on 19 Jun 2023
39 points (91.5% liked)

Linux

50861 readers
901 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
 

Hi everyone!

I saw that NixOS is getting popularity recently. I really have no idea why and how this OS works. Can you guys help me understanding all of this ?

Thanks !

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 years ago

I didn't get it either, but this video does a pretty good job explaining why it's different: https://www.youtube.com/watch?v=DMQWirkx5EY

[–] [email protected] 2 points 2 years ago

I switched around one and a half years ago. I must say, there are some hurdles to using NixOS. Mainly I dislike that it always takes around 20 times the effort to start and project. You make up for the initial time investment, because you end up with a far more stable setup, but still it does take some willpower to get things started.

[–] [email protected] 2 points 2 years ago (2 children)

I will switch as soon as I can get proprietary Nvidia drivers to work on my laptop.

load more comments (2 replies)
[–] [email protected] 2 points 2 years ago (4 children)

SYMLINKS

SYMLINKS EVERYWHERE

(also 6000 packages intalled on my system for some reason lol)

load more comments (4 replies)
[–] [email protected] 2 points 2 years ago

Never tried NixOS but I think I will try Qubes-Whonix next: https://www.whonix.org/wiki/Qubes

[–] [email protected] 2 points 2 years ago

because it's good as hell and i don't want to have to spend time having to rebuild and reconfigure fresh OS installs or risk breakage when I could just use a config file that I know already works

[–] [email protected] 2 points 2 years ago

Answering that question fully would require a PHD thesis.

Perhaps you could narrow down your question a little?

[–] [email protected] 2 points 2 years ago

I ran it in a VM for several months and was underwhelmed. Sticking with Fedora.

[–] [email protected] 2 points 2 years ago (6 children)

For those who like a video format, I found this introduction quite informative.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

I was zzz until i heard having the ability to have different versions of packages installed at the same time without having the flatpak issue of having to have duplicates of the same package.
All-in-one config is definitely something I would've hoped Arch had (I just like the idea of everything user-related stored within /home because that makes fucking sense, no, homed doesnt do exactly that) so I'll definitely check it out if my harddrive ever crashes or something.

load more comments (5 replies)
[–] curtismchale 2 points 2 years ago (1 children)

I've been looking at it after numerous times I update Fedora only to have some tool break that I use daily. Then I spend a chunk of the day getting Virtualbox working again so I can do my job (write code for websites).

I haven't made the jump, but it looks very interesting.

[–] [email protected] 2 points 2 years ago (1 children)

I've made the jump twice, and jumped back twice.

Conda and any other reproducible computing library that relies on LHS Linux filesystem just doesn't work on it (okay it does, but more as an obstacle)

I'm okay with having nix the package manager on my default arch system though, since it is incredibly useful for cross compiling, and it let's me modify my system however I want.

[–] [email protected] 2 points 2 years ago (1 children)

Have you tried putting it into a buildFHSUserEnv?

I also often put the "dirty" packaged AI/python stuff (which is unfortunately quite a lot) into Dockerfiles if I don't want to package it cleanly with Nix.

load more comments (1 replies)
[–] [email protected] 2 points 2 years ago (1 children)

I'm using Void Linux and see no reason to move over to NixOS. The concept seems cool though.

load more comments (1 replies)
[–] [email protected] 1 points 2 years ago (1 children)

I don't get the hype. I'm staying with Arch, as Nix seems to be mainly for developers.

load more comments (1 replies)
[–] [email protected] 1 points 2 years ago

Overlays. Good package management, and lot of stability stuff.

[–] [email protected] 1 points 2 years ago

It's been around for like a decade, but was recently make more approachable by offering a graphical installer.

[–] [email protected] 1 points 2 years ago (1 children)

I tried it about a year ago and I don't know it did not convince me. Yeah it might be great for some niche developer oriented needs or deployment but for a normal OS usage, meh. I kind of see it as a current hype, just like crypto/NFT before, and AI now. For normal everyday usage I find openSUSE Tumblweed much more suitable and much more widely applicable.

load more comments (1 replies)
[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (5 children)

I'm really not sure of where this would be anymore usefull than a simple bash script to install all packages you need since it doesn't do configs and that rollbacks are supported by some filesystems already. Also Having version specific dependencies is already a thing for flatpacks and such

[–] [email protected] 2 points 2 years ago (2 children)

A simple bash script is not reproducible or deterministic. Also a filesystem rollback is not the same as NixOS's generation based rollback.

Also, NixOS doesn't just install packages, all system configuration is done declaratively, which would be a very bad idea to do via a bash script.

load more comments (2 replies)
load more comments (4 replies)
load more comments
view more: ‹ prev next ›