Jump to content

Template:Manual

From NixOS Wiki

Template Documentation [edit source| uses| help]

Use this template to provide links to the manuals in the Nix ecosystem: Nix reference manual, Nixpkgs manual and NixOS manual.

📖︎ Installation

Usage

Provide the tool and the path which you want to link as arguments for the template. For example, to link the manual page at nix.dev/manual/nix/stable/installation/index.html, include just the installation/index part:

{{manual|nix|installation/index|Installation}}

In cases where you need to link to a specific subsection on the manual page, you can use the appropriate parameter:

{{manual|nix|installation/index|Installation|subsection=multi-user}}

📖︎ Installation

Template data

Insert a link to one of the Nix manuals.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Manual1

The manual to link to.

Suggested values
nix nixos nixpkgs
Stringrequired
Section2

The section to link to.

Stringrequired
Display text3

The text to display in the link.

Stringrequired
Subsectionsubsection

The subsection to link to. Only applies to the Nix reference manual.

Stringoptional