Template:Editing Template: Difference between revisions
No edit summary |
mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template provides | This template provides a guide for structuring new articles. | ||
Usage: | Usage: | ||
{{ | {{ic|<nowiki>{{Editing Template|package_name=your_package_name}}</nowiki>}} | ||
{{Editing Template|package_name=your_package_name}} | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
Line 35: | Line 32: | ||
}} | }} | ||
== Configuration == | == Configuration == | ||
{{{configuration|}}} | |||
=== Basic === | === Basic === | ||
<pre class="mw-editcontent"> | |||
programs. | programs.{{package_name}} = { | ||
enable = true; | enable = true; | ||
}; | }; | ||
</pre> | |||
=== Advanced === | === Advanced === | ||
<pre class="mw-editcontent"> | |||
programs. | programs.{{package_name}} = { | ||
enable = true; | enable = true; | ||
... | ... | ||
}; | }; | ||
</pre> | |||
== Tips and Tricks == | == Tips and Tricks == | ||
{{{tips_and_tricks|}}} | |||
=== Where to see a list of options? === | === Where to see a list of options? === | ||
== Troubleshooting == | == Troubleshooting == | ||
{{{troubleshooting|}}} | |||
== References == | == References == | ||
{{{references|}}} | |||
</includeonly> | </includeonly> |
Latest revision as of 07:50, 21 June 2024
This template provides a guide for structuring new articles.
Usage:
{{Editing Template|package_name=your_package_name}}
Installation
Using nix-shell
nix-shell -p your_package_name
System-Wide Installation on NixOS
environment.systemPackages = [ pkgs.your_package_name ];
After modifying your configuration, apply the changes by running:
sudo nixos-rebuild switch
User-Specific Installation with Home Manager
home.packages = [ pkgs.your_package_name ];
After updating your configuration, apply the changes by running:
home-manager switch
Configuration
Basic
programs.{{package_name}} = { enable = true; };
Advanced
programs.{{package_name}} = { enable = true; ... };