Void Linux vs Nix os
When comparing Void Linux vs Nix os , the Slant community recommends Void Linux for most people. In the question“What is the most secure Linux distro?” Void Linux is ranked 6th while Nix os is ranked 16th. The most important reason people chose Void Linux is:
A single instance of Void will be supported forever without needing to reinstall (you can update the system every day instead of having to install one major update every 6 months or so).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Rolling release
A single instance of Void will be supported forever without needing to reinstall (you can update the system every day instead of having to install one major update every 6 months or so).
Pro Very minimal
More minimalistic than Arch since it doesn't use systemd.
Pro Runit init system
An init system with the "do one thing and do it right" mentality. Void Linux does not support systemd.
Pro Easy to use installer
Unlike it's closest competitor, Arch, Void includes a very user-friendly and simple installer in the ISO.
Pro Runit is fast and easy to configure
Runit init system is incredibly fast to boot and very simple to use.
Pro Different DE's live ISO's are available
Arch Linux doesn't make ISO's with different DE's. One need to manually install it through CLI version. But Void which is competitor of Arch, provides a wide range of DE's ISOs.
Pro Very lightweight
Base installation can idle at less than 250 megabytes of RAM.
Pro XBPS (X Binary Package System)
A brand new package manager that is fast, full-featured, and tailored specifically for Void Linux.
Pro BSD-like improvements with Linux
Full support for LibreSSL, an OpenSSL fork focused on maximizing security. The xbps-src package builder works in a similar manner to BSD's ports collection.
Pro Musl image available
Musl libc is lighter and faster than bloated glibc. Musl has been argued to be more secure overall than glibc also but is also not supported by all software.
Pro Friendly forum
Unlike the Arch Forum, it is a friendly forum (although small).
Pro Xbps-src
Xbps-src is a source packages collection which is pretty similar to FreeBSD's ports and may replace AUR for Void users.
Pro Many packages
There are some packages in official repos, than may be found only in AUR.
Pro Cool Neofetch logo
Neofetch looks good.
Pro No systemd
Uses runit instead of systemd.
Pro Great for Haskell development
It has all of hackage in it's package manager (which is confusingly named "nix" as well) due to being based around hashing and allowing you to compile in a sort of virtual machine (really just changing the PATH variable temporarily) it solves many of the versioning problems that you commonly have with cabal. Here's a tutorial (there's many others as well) http://www.cse.chalmers.se/~bernardy/nix.html.
Also I should note that you can use the package manager a la carte on Mac and most any linux distro.
Pro Upgrading the system is extremely reliable
Since NixOS stores all its packages in isolation from each other in /nix/store
and because of the declarative configuration model, upgrading NoxOS systems is extremely reliable. Furthermore, it gives you the ability to roll back upgrades.
Pro Extremely reproducible state of installation
Every package in your system is generated from a configuration file. This makes it very easy to reproduce that environment. Just copy the config file into a new machine and it's done.
Pro Versatile snapshot system
You can use and test snapshots without rebooting. Booting into snapshots or test configurations is possible without risking the system's stability.
Pro Has docker like system built in
Pro Allows parallel configurations for multiple projects
As everything is isolated, you can have on the same machine multiple configurations to meet project requirements that would be mutually exclusive on other OSes.
Cons
Con Not suitable for those new to Linux
Documentation is scarce, NTFS partitions aren't automatically mounted, etc.
Con Not popular
Void Linux is not a popular Linux distro. So, if you run into a problem then it's likely you won't find any fix except from the maintainers.
Con Manual unclear about base configuration
Manual does not explain how to fix GRUB and gives no partition hints to the available options.
Con Niche distro
Fewer developers, smaller community, fewer packages than other distros.
Con Nvidia CUDA cumbersome to setup
If your using a Nvidia card with programs that require CUDA for fast rendering (Blender), you can expect some trouble getting it to work as it's not included with the Nvidiadriver of the nonfree repo.
Con No packages
Void developers refuse to package brave.
Con The configuration language is hard to figure out
For good reason. It's a purely functional language. However not even close to bash.