this post was submitted on 20 Jun 2023
26 points (96.4% liked)

Linux

48317 readers
752 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
top 15 comments
sorted by: hot top controversial new old
[–] WhiteBlackGoose 5 points 1 year ago* (last edited 1 year ago) (2 children)
[–] [email protected] 5 points 1 year ago (2 children)

tip: you should create relative links to communities so that people aren't torn from their instance when following, like so

[my link text](/c/[email protected])

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

Clicking this crashes jerboa 🧐

[–] [email protected] 0 points 1 year ago

Sorry I don't have jerboa so I can't test this myself, but definitely let the dev know! I'm sure they would appreciate the bug report.

[–] WhiteBlackGoose 1 points 1 year ago

ahhh, thanks

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

Damn, all this nix hype has me wanting to jump off of my Kinoite install. Maybe it's time to dust off my old nix config I've tucked away. Found a new Youtube sub too. Thanks OP!

[–] WhiteBlackGoose 2 points 1 year ago

Maybe. If you decide so, welcome back!

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

I swear I'm seeing so many posts about NixOS I feel like it's being spammed.

[–] [email protected] 3 points 1 year ago

I use NixOS btw.

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

How is NixOS better than Linux Mint?

[–] [email protected] 3 points 1 year ago

They are very very different, much more so than say arch and mint are different. Listing what makes nix better than mint would be just a list of features mint is missing, wether these are relevant for you or not would decide if they make nix better. However there are some objective technical points that are just flat out better:

  • One config file describing your system. You change that file, you change the system. The system always is in the state described in that file.

  • Complex system changes that would require many steps are trivial since you only have to describe the outcome in your configuration file instead of how to get there. For example I can declare in the config file that I want a system using the current stable linux kernel with zen patches and Nvidia drivers that have 32 bit support.

  • Every update is a (seamless) reinstall. The entire system gets rebuilt as if it was a fresh install, sans your home directory and the settings you made ofc.

  • Concept of generations. Every time I change my config file or rebuilt my system(update) it is a new generation with its own entry in the bootloader. Btw, the config file also controls which bootloader your system uses, you can just say grub or systemd and nix takes care of the rest.

  • 'nix-shell -p program' that little command will open a shell with the specified applications installed in it, after you close that shell the programs are gone. This is great for trying out apps without cluttering your system with their dependencies, or quickly using a app you know you won’t need permanently.

  • Choice between release based updates or bleeding edge rolling. Concept of generations does still apply, you can quickly try out the rolling release channel and if it doesn’t work out you can easily go back.

  • Trivial to change midstack applications. With midstack I mean things like cinnamon, gnome-shell or plasma base files. For example what if you wanted to switch from gnome to kde? A single word changed in the nix config file will rip out all of the gnome stack and put the plasma stack in instead. As if you never had gnome on your system, a reinstall for all intents and purposes. Again, trivial to change back.

That’s just some of the advantages of nix.

[–] [email protected] 1 points 1 year ago

You can install the same desktop environment so that they look identical. The biggest difference is in the philosophy behind how you make any changes to your system. In NixOS, you don't find some random SO post, edit /etc/whatever.conf, then forget wtf you did a few months later. Everything* goes through editing /etc/nixos/configuration.nix. You then apply those changes, and roll them back if you don't like them.

  • Not actually everything, yet. You can install most any gnome plugin through that file, but you can't set any configuration options through there yet afaik
[–] WhiteBlackGoose 1 points 1 year ago
[–] [email protected] 1 points 1 year ago (1 children)

Just because I'm interested in the hole NixOS thing, I was wondering how much difference there is between NixOS and Guix, I know I've spun both up in a VM and while they are similar, Guix is different enough that I can't find the main config file. So can someone give me a quick description of the difference?

[–] choroalp 1 points 1 year ago

Guix is NIx but its configured in Lisp.