18 lines
345 B
Markdown
18 lines
345 B
Markdown
# 14-template
|
|
|
|
This example shows a small `templates.default` output.
|
|
|
|
It includes:
|
|
|
|
- one reusable flake template under `template/`,
|
|
- a description shown by `nix flake show`, and
|
|
- a check that verifies the template files contain the expected scaffold.
|
|
|
|
Useful commands:
|
|
|
|
```bash
|
|
nix flake show
|
|
nix flake init -t .#default
|
|
nix flake check
|
|
```
|