21
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

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 new old
[-] [email protected] 1 points 2 years ago

People love Nix because of the OS configuration based around a single config file. Essentially, you define your system configuration in this file, including installed programs, then you rebuild your system based on that configuration.

The beauty here is that you can easily move this file to another machine running NixOS and reproduce your configuration there. You can also roll back changes by simply rebooting and choosing the last known good build and you're back in business.

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

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

[-] [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

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

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

Having the option to have multiple versions of a dependency without needing to have duplicates of the same version alá flatpak seems like it should've been a no-brainer on any linux distro.
With that said I'm very comfortable with my current system, so definitely not until I get majorly fucked by my life-choices
Definitely sounds like a competent player in comparison to most distros though.

And I feel like the terminal isn't as big a barrier as everyone makes it out to be (part of why I say that is because I think the entire concept of "beginner friendly distros" only makes the terminal seem more impenetrable through that wording)

All-in-one config is definitely something I would've hoped Arch had as well, and as a bonus I would love a system that kept all things related to the user in /home (I'm not completely sure Nix does but I may as well throw that in) (homed does not do that as it still has entities outside of /home that you better back up, in fact you'll risk being locked out of your user if you don't)

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

as a bonus I would love a system that kept all things related to the user in /home

https://github.com/nix-community/home-manager ;)

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

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

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

Glancing over the website, I thought it's an immutable OS, like Fedora Silverblue. I could imagine that it might be cool to use with Ansible and stuff. But for an average user? I can't really see the advantages in respect to the work you have to put in.

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

It is an immutable distro, altough it isn't image-based like Fedora's rpm-ostree.

NixOS basically replaces Ansible because the Nix package manager achieves the same goals already (configuration, deployment, ...).

But I agree, the work necessary to put into this non-standard distro makes it hard to recommend for a casual user.

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

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

load more comments (7 replies)
[-] [email protected] 1 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

load more comments
view more: ‹ prev next ›
this post was submitted on 19 Jun 2023
21 points (88.9% liked)

Linux

56309 readers
1333 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 6 years ago
MODERATORS