diff --git a/docs/site/templates/index.md b/docs/site/templates/index.md index 12c6bce26..6907914e2 100644 --- a/docs/site/templates/index.md +++ b/docs/site/templates/index.md @@ -6,12 +6,19 @@ They showcase best practices and guide you through setting up and using Clan's m I.e. To use the `new-clan` template run the following command: -`nix flake init -t git+https://git.clan.lol/clan/clan-core#new-clan`. +```bash +nix flake init -t git+https://git.clan.lol/clan/clan-core#new-clan +``` ## Available Templates We offer the following templates: -To initialize a clan with one of those run `nix flake init -t git+https://git.clan.lol/clan/clan-core#TEMPLATE_NAME` +To initialize a clan with one of those run: +```bash +nix flake init -t git+https://git.clan.lol/clan/clan-core#[TEMPLATE_NAME] +``` + +Substitute `[TEMPLATE_NAME]` with the name of the template. - **new-clan**: Perfect for beginners, this template shows you how to link two machines in a basic setup.