Nix Pills
Preface
This is a ported version of the Nix Pills, a series of blog posts written by Luca Bruno (aka Lethalman) and orginally published in 2014 and 2015. It provides a tutorial introduction into the Nix package manager and Nixpkgs package collection, in the form of short chapters called 'pills'.
Since the Nix Pills are considered a classic introduction to Nix, an effort to port them to the current format was led by Graham Christensen (aka grahamc / gchristensen) and other contributors in 2017.
If you encounter problems, please report them on the nixos/nix-pills issue tracker.
Note: Commands prefixed with
#
have to be run as
root, either requiring to login as root user or temporarily switching
to it using sudo
for example.