Merge pull request 'documentation: improve templates section' (#1208) from a-kenji-docs/update-template into main
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user