What Linux distribution or distributions do you personally use?

I myself am a daily Void user. I used to use Devuan, but wanted to try rolling release and ended up loving Void!

You are viewing a single thread.
View all comments
1 point

NixOS on everything but my Steam Deck which is running SteamOS.

permalink
report
reply
2 points

Thoughts on NixOS? I have heard a lot of positive buzz, but I don’t think I understand it fully. (I’m primarily debian, ubuntu, fedora, arch user, and I’ve admin’d a FreeBSD server too).

permalink
report
parent
reply
2 points
*

For me, NixOS is like someone took the archwiki and made a distro with it. I can just do

services.lemmy = {
  enable = true;
  settings = {
    hostname = "lemmy.union.rocks";
    database.createLocally = true;
  };
  caddy.enable = true;
}

in my system config (example from Nix manual). It will install lemmy, install caddy, start lemmy backend on port 8536, frontend on 1234, expose it with a caddy reverse proxy to that hostname, and initialize a postgres database. This is also reproducible across systems, so it’s pretty much guaranteed to work the same on one PC and on another.

This is very useful, because some programs require some more configuration, and this can remove the need to know where to put their config files, their package names, systemd service names from your head. It’s all in there.

Also, when I fuck something up… when changing the config, it makes a new boot entry with it, so when booting I can just press arrow down when booting to select an older, working config. Magic.

Packages are also nicely separated from each other. I don’t have to install stuff globally, when I need a program one time I can just do nix shell nixpkgs#audacity and have an ephemeral shell with the package installed.

There are (optiona) binary caches, so you practically don’t have to compile anything from source when updating your system.

I have all my configuration on GitHub, like a lot of people, which makes it easy to share information.

A con is that when a program hasn’t been packaged for NixOS (whether it’s in nixpkgs or has a flake.nix in the repo), it’s not that easy to use it, so learning to write derivations (packages) for NixOS is pretty much a must have.

Also another must have is being in some community that uses NixOS, because it is really hard to learn without someone to help and guide you IMO.

Worth it though

permalink
report
parent
reply
2 points

Ooooh. That sounds amazing. I will have to try it out. Does it play nice in v box or VMware?

permalink
report
parent
reply
0 points
*

I really enjoy using NixOS as it is good at what it does, declarative system configuration, but it does have issues that can prevent people from using it. It’s great if you want to put the configuration for all your computers in one git repo but that configuration is in the Nix language so you will eventually need to become familiar with the Nix language. The main issues are that the documentation needs work and understanding the difference between the Nix operating system, the Nix language, and the Nix package collection as the more you use NixOS the more familiar you will need to be with each.

That said, I find it worth learning and recommend some of the following resources for NixOS.

MyNixOS for graphical configuration management. See my configs there.

NixOS Wiki for the best collection of NixOS documentation. I’ve found this collection of people’s configurations to be very useful for inspiration.

The manual pages for the Nix language, Nix packages, and NixOS.

permalink
report
parent
reply
2 points

Thank you for your helpful replies! I will put it in my “someday” inbox when I feel the need to shave some yaks or when debina/ubuntu/fedora piss me off about something. :)

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.6K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments