X
Tech
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

Linux power users: Here's a distro with a refreshing approach to OS design

NixOS is a well-designed OS with a fantastic array of layouts and features, but I recommend it to Linux users who aren't afraid of a little learning curve.
Written by Jack Wallen, Contributing Writer
linux-distro-nixos.jpg

ZDNET's key takeaways

  • NixOS is an open-source operating system that is available to install and use for free.
  • It offers several desktop environments to choose from, is as rock-solid as any OS on the market, and performs quite well.
  • However, there's a fairly steep learning curve for installing non-free software.

Before we get into this review, I want to offer some information for new Linux users. If you're uncomfortable using the command line or diving down rabbit holes to figure out how to do something that should "just work out of the box," then NixOS is probably not for you. 

Also: This Linux distro can be used without installation (and it's totally free)

However, that's not to say someone with minimal familiarity with the command line would fail with this distribution. For example, if you only need open-source software, NixOS could be a viable option. If, however, you need apps like Chrome, Slack, and Spotify, you might run into some frustration that will send you packing back to Ubuntu, Linux Mint, or Windows.

With that said, let's get to what makes this distribution great. 

Not everyone wants an Ubuntu or Linux Mint distribution. I'm not saying those two operating systems aren't outstanding, but at some point, a Linux user might want something a bit more robust. 

I've tried nearly every Linux OS I've come across, from the ridiculously simple (Ubuntu) to the astoundingly complex (Gentoo) and everything in between. So when I find a Linux distribution that can challenge me, I jump at the chance to see what it can do.

Such is the case with NixOS. This from-scratch Linux distribution isn't nearly as difficult as Gentoo, but it's not quite as user-friendly as Ubuntu. Where does that leave it? I'd say somewhere between Ubuntu and Arch Linux.

Also: I found an iPhone and Mac browser that's faster, safer, and easier than Safari

You'll find two official versions of NixOS -- one with GNOME and one with Plasma Desktop. During the installation, you'll be offered the opportunity to install from a list of different desktop environments. For my testing, I chose Deepin Desktop because I'm a fan of its layout. So you might be asking: With so many easy-to-use desktop environments, why would NixOS be considered challenging for new users?

First off, there's no GUI app store. That's right. With NixOS, you install packages via the command line. But don't worry, NixOS has something to help you out with that. Open your web browser and point it to search.nix.org. On that site, you can search for any piece of software you need to install, and it will give you the command to do just that. For example, to search for Slack, the install command is:

nix-shell -p slack

Ah, but we then run into our first problem. You see, out of the box, NixOS is configured not to install non-free software without a bit of help. When you run the above command, you'll see in the output that there are two ways around this:

  • a) To temporarily allow non-free packages, you can set a particular environment variable with the command: export NIXPKGS_ALLOW_UNFREE=1
  • b) For `nixos-rebuild` set { nixpkgs.config.allowUnfree = true; } in /etc/nixos/configuration.nix.

However, when I look in configuration.nix, the allowUnfree option is already set to true. What's the deal? Turns out, even though that option is global, you still have to create a config file in your home directory, specifically in ~/.config/nixpkgs. Oh, but wait, the nixpkgs directory doesn't exist, so you have to create it first. 

Also: The 5 best rolling release Linux distributions - and why you should be using one

Hopefully, you're starting to see why, even with a user-friendly GUI, NixOS isn't a good choice for new users. It's a great choice if you have plenty of Linux experience, as it's as rock solid as Debian or Arch. And if you only want to use open-source (free) software, you won't have much in the way of problems (as long as you're comfortable with the command line).

Beyond the installation of non-free software, what is NixOS like? It's a stable, efficient operating system that's also secure and includes nearly everything you need to get started (minus an office suite and email client). For those who need an office suite, you can install LibreOffice with:

nix-shell -p libreoffice

If you need an email client, try:

nix-shell -p thunderbird

The final frustration I'll mention with this is that, even after successfully installing an app, you won't find it in the menu. Argh! I even had an instance where, after installing LibreOffice and logging out, it seemed LibreOffice vanished, and I had to install it again. 

Even then, I opened the app and tried adding it to the dock, only to discover it was an unrecognized application. The good news is that after a reboot, everything was exactly as it should have been. I'm just not used to rebooting after installing an application in Linux. Go figure.

LibreOffice running on NixOS.

All it took was a reboot after installation and LibreOffice was in the desktop menu and ready to use.

Jack Wallen\ZDNET

Frustrations can mount quickly with NixOS. Those frustrations are, however, surmountable. It just takes time. And effort. And Google (or DuckDuckGo). That's why I recommend NixOS to Linux users who have a solid understanding of the basics. 

ZDNET's advice

Usually, when I do a review of a Linux distribution, I install it as a VirtualBox virtual machine, kick the tires, and delete the VM when I'm finished. However, with NixOS, I plan on keeping it around for a while so I can better learn the ins and outs of using this fascinating OS.

If you're comfortable using the Linux command line and like a challenge, you should certainly give NixOS a try. Once you have everything up and running with this open-source operating system, it will not let you down.

Editorial standards