this post was submitted on 16 Oct 2023
208 points (97.3% liked)

Linux

48115 readers
691 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
 

Hey fellow Linux enthusiasts! I'm curious to know if any of you use a less popular, obscure or exotic Linux distribution. What motivated you to choose that distribution over the more mainstream ones? I'd love to hear about your experiences and any unique features or benefits that drew you to your chosen distribution.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 1 year ago (11 children)

I still have no idea what it actually is and at this point I'm afraid to ask, cause the answers usually contain the words "declarative", "atomic", "Haskell" "build environment" and "/nix/store/b6gvzjyb2pg0kjfwrjmg1vfhh54ad73z-firefox-118.0/"

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (7 children)

It all began with Nix software build system and package manager; they needee a way to build, compile software in a reproducible way. That is, if it builds on my machine, it should build on yours too given some constraints. Then they build a whole package repository for such sofware or package definitions, Nixpkgs, that can be build or retrieved using Nix package manager. Nixpkgs grew to be a repository for enabling runnig an GNU Linux OS on it: NixOS. It is declarative in the sense you write what it should contain like packages and behaves like system services. For example, see https://git.sr.ht/~misterio/nix-config.

Atomic in the sense that when you want to change system's configuration or state, everything should suceed in that update, otherwise fails; it is everything or nothing. This enables storing previous and current system revisions, so can rollback to previous state.

Nix plus things like flakes, nix shell, enables a build inviroment akin to containers, but much better, correct, and flexible.

Haskell is just an ecossytem Nixpkgs support.

[–] [email protected] 3 points 1 year ago (3 children)

Cool, thanks.
Is NixOS a general purpose distro, a specialized tool for developers, a toy for distro-hoppers or an unfinished proof-of-concept?
Can it be run like any other Linux desktop system apart from the package manager?
How do you install packages that aren't in its repo?

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Basically all that. The unfinished part IMO is mostly for use in developer use cases, and that some ecosystems like JVM are not as well supported.

Can run yes, given that you have to spend some time learning Nix and NixOS specifics. I do that myself.

You either package the software if it is easy to do so—take a look a at nix-init which eases the process—or use Flatpack, containers, steam-run...

load more comments (2 replies)
load more comments (5 replies)
load more comments (8 replies)