mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03: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