NixOS: Difference between revisions

imported>Ixxie
imported>Ixxie
Line 69: Line 69:
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"  
{|  border="1" style="border-collapse:collapse"
|Searching for packages
|Searching for packages
|<code>nix-env -qaP '.*packagename.*'</code>
|<code>nix-env -qaP '.*packagename.*'</code>