this post was submitted on 16 Jun 2023
14 points (100.0% liked)

Linux

48165 readers
1275 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
 

Seems like this distro is getting a lot of traction recently. Has anyone tried it? Is it any good?

you are viewing a single comment's thread
view the rest of the comments
[–] Triton@lemm.ee 2 points 1 year ago (1 children)

I've been using it for around a year and really like it so far. It is however very different from almost every other linux distro, so I would think carefully about it before switching. If you're not prepared to invest significant time and/or don't really care about the advantages of NixOS, you should stay away from it.

Pros of NixOS:

  • Declarative configuration: This is probably the main selling point. The whole system configuration and installed packages are neatly in one place. Using home-manager, this can also replace config files for many programs. All of this is especially useful if you share that configuration between multiple devices.
  • System rollbacks: If something breaks, simply boot into the previous generation.
  • Very customizable system: You can freely choose your desktop environment & basic system packages.

Pros of Nix in general (you don't need to install NixOS for this):

  • Huge package repository (also very up-to-date if you want to use the unstable channel)
  • Consistent developer environments that can easily be shared

Cons of Nix & NixOS:

  • Very steep learning curve: You essentially have to learn (the basics of) the Nix programming language.
  • There are often many ways to do things without any clear recommendation: Channels / Flakes, whether nix-env should be used, etc.
  • The documentation isn't always great (although it is improving)
  • If something is not packaged in nixpkgs, it can be difficult to run it, since NixOS doesn't follow the Filesystem Hierarchy Standard. There are some tools to run flatpaks, appimages and arbitrary executables, but especially the later might not always work out of the box.
[–] zooterthepenguin@kbin.social 1 points 1 year ago

I hear you with the "many ways to do things". The flexibility in the language to get from input to outputs means every GIT I look at has differently constructed flakes. Finally, after pouring some time in these last couple of weeks i am grasping the basics. Zero to Linux https://zero-to-nix.com/ was the first time it came together for me.