NixOS: Difference between revisions

imported>Ixxie
No edit summary
imported>Ixxie
Line 71: Line 71:
In addition to declarative system configuration, NixOS offers imperative commands to manage ''user specific'' package management. These operations are managed by the <code>nix-env</code> command line tool. The following is a summary of some common operations that can be performed with it:
In addition to declarative system configuration, NixOS offers imperative commands to manage ''user specific'' package management. These operations are managed by the <code>nix-env</code> command line tool. The following is a summary of some common operations that can be performed with it:


{|  border="1" style="border-collapse:collapse"
{|  class="wikitable"
|+ Basic <code>nix-env</code> Commands
|Searching for packages
|Searching for packages
|<code>nix-env -qaP '.*packagename.*'</code>
|<code>nix-env -qaP '.*packagename.*'</code>
Line 92: Line 93:
Nix ''channels'' are mechanisms for distributing Nix expressions alongside the associated binaries for them. Nix channels are automatically updated once a certain tests are passed in Nixpkgs' Hydra instance.
Nix ''channels'' are mechanisms for distributing Nix expressions alongside the associated binaries for them. Nix channels are automatically updated once a certain tests are passed in Nixpkgs' Hydra instance.


{|  border="1" style="border-collapse:collapse"
{|  class="wikitable"
|+ Channel Types
|+ Channel Types
|Stable Channels
|Stable Channels
Line 106: Line 107:
| Identical to their normal namesakes, but containing fewer binaries. This means they update faster but require more to be built from source.
| Identical to their normal namesakes, but containing fewer binaries. This means they update faster but require more to be built from source.
|}
|}


== Internals ==
== Internals ==