forked from lix-project/lix
documentation: use sections instead of list items
This commit is contained in:
parent
e43b0f5b12
commit
09860c16ce
|
@ -18,7 +18,10 @@ values such as packages or NixOS modules provided by the flake).
|
||||||
Flake references (*flakerefs*) are a way to specify the location of a
|
Flake references (*flakerefs*) are a way to specify the location of a
|
||||||
flake. These have two different forms:
|
flake. These have two different forms:
|
||||||
|
|
||||||
* An attribute set representation, e.g.
|
|
||||||
|
## Attribute set representation
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
|
@ -31,7 +34,9 @@ flake. These have two different forms:
|
||||||
The only required attribute is `type`. The supported types are
|
The only required attribute is `type`. The supported types are
|
||||||
listed below.
|
listed below.
|
||||||
|
|
||||||
* A URL-like syntax, e.g.
|
## URL-like syntax
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
github:NixOS/nixpkgs
|
github:NixOS/nixpkgs
|
||||||
|
@ -62,7 +67,7 @@ flake. These have two different forms:
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
### Examples
|
||||||
|
|
||||||
Here are some examples of flake references in their URL-like representation:
|
Here are some examples of flake references in their URL-like representation:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue