mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Add paragraph about Nix vs. NixOS
This commit is contained in:
parent
9bb80ffa2c
commit
f6b1d82836
@ -60,4 +60,26 @@
|
||||
</listitem>
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user