mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
Add paragraph about Nix vs. NixOS
This commit is contained in:
parent
9bb80ffa2c
commit
f6b1d82836
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user