Template:Nixos:option: Difference between revisions

imported>Samueldr
Refer to a NixOS option, linking to the proper section
 
Axka (talk | contribs)
Use new Doc-subpage
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{template}}{{DISPLAYTITLE:Template:nixos:option}}
<noinclude>{{DISPLAYTITLE:Template:nixos:option}}
 
{{Documentation}}
Refer to a NixOS option linking to the <em>options.html</em> page.
</noinclude><includeonly><code>[https://search.nixos.org/options?show={{{1}}}  {{{2|{{{1}}}}}}]</code></includeonly>
 
== Example use ==
 
* <code><nowiki>{{nixos:option|powerManagement.resumeCommands}}</nowiki></code>
* {{nixos:option|powerManagement.resumeCommands}}
 
</noinclude><includeonly><code>[https://nixos.org/nixos/options.html#{{{1}}}  {{{1}}}]</code></includeonly>