@@ 640,14 640,25 @@
<div class="item os-nixos">
<label for="os-nixos">
<img src="/static/nixos.png" />
- Nixpkgs
+ Nix
</label>
<div class="content">
<p>
- The <code>gitAndTools.gitFull</code> package from the NixOS
- channel includes the git email tools. Run this to install it:
+ The
+ <a href="https://search.nixos.org/packages?type=packages&query=gitFull"><code>gitFull</code></a>
+ package includes the git email tools.
+ To install it imperatively, run:
+ </p>
+ <pre>nix-env -iA nixos.gitFull</pre>
+ <p>
+ Alternatively, to install it declaratively, add:
+ </p>
+ <pre>programs.git.package = pkgs.gitFull;</pre>
+ <p>
+ to <code>configuration.nix</code>, or
+ <code>home.nix</code> if you use home-manager.
+ Make sure <code>programs.git.enable</code> is enabled.
</p>
- <pre>nix-env -iA nixos.gitAndTools.gitFull</pre>
<a href="#step-2" class="button">Next</a>
</div>
</div>