NixOS: A Distro Focused on Next-Generation Package Management

Written By
BB
Bruce Byfield
Feb 4, 2009

“Instead, take the time to see how NixOS is structured, and to
consider why. To start with, notice that the configuration file
whose creation was the main feature of the installation is actually
a flexible tool for administration. By running the nixos-rebuild
script with various options, you can quickly create and test
multiple configurations without making your system usable. Should
you choose, you can maintain multiple system descriptions that
appear as options in GRUB, creating different configurations for
different purposes or users. Similarly, if you accidentally create
an unusable configuration, you can still boot into your system
using another one, or use the installation CD to create another
one. No configuration is deleted unless you specifically choose to
remove it.

“The same principle of redundancy applies even more strongly to
packages. Within NixOS, each installed package and its
configuration file is placed in a separate folder under /nix/store,
rather than such usual locations such as /us, /bin or /sbin, where
later versions of software generally overwrite earlier ones. Even
/etc consists largely of symbolic links to /nix/store, with the
exception of a few core files like passwd.

“Using such a structure, NixOS has no trouble allowing multiple
versions of the same software to co-exist, any more than the rival
Conary package manager does — or, like Autopackage, another
software installation system, of having non-root users install
software only for themselves. Any danger from non-root installs is
reduced by scripts that run only programs and other scripts that
are specifically declared in the package definition.”

Complete
Story

BB

Bruce Byfield

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.