Cheatsheet: Difference between revisions

imported>Mic92
imported>Makefu
No edit summary
Line 66: Line 66:
Or with collections, add the package to your ~/.nixpkgs/config.nix and run
Or with collections, add the package to your ~/.nixpkgs/config.nix and run
<pre>nix-env -i all</pre>
<pre>nix-env -i all</pre>
Since 17.09pre:
<pre>users.users.<username>.packages =
          with pkgs;[ emacs ];</pre>
|-
|-
|Uninstall a package
|Uninstall a package