Add paragraph about Nix vs. NixOS

This commit is contained in:
Matthias Beyer 2015-01-25 14:26:55 +01:00 committed by Domen Kožar
parent 9bb80ffa2c
commit f6b1d82836

View File

@ -60,4 +60,26 @@
</listitem> </listitem>
</itemizedlist> </itemizedlist>
<para>
To apply the configuration to the package manager, you have to emit the
<programlisting>
nixpkgs.config
</programlisting>
part from the upper listings. So a configuration with
<programlisting>
{
allowUnfree = true;
}
</programlisting>
in
<programlisting>
~/.nixpkgs/config.nix
</programlisting>
will prevent the Nix package manager from installing unfree licensed
packages.
The configuration as listed applies for NixOS.
</para>
</chapter> </chapter>