doc/suites: updating explanation of suites
This commit is contained in:
parent
5831adb061
commit
a7c20465ec
@ -2,11 +2,10 @@
|
|||||||
Suites provide a mechanism for users to easily combine and name collecitons of
|
Suites provide a mechanism for users to easily combine and name collecitons of
|
||||||
profiles. For good examples, check out the suites defined in the community branch.
|
profiles. For good examples, check out the suites defined in the community branch.
|
||||||
|
|
||||||
`suites` are a special case of an `importable` which get passed as a special
|
`suites` are defined in the `importables` argument in either the `home` or `nixos`
|
||||||
argument (one that can be use in an `imports` line) to your hosts.
|
namespace. They are a special case of an `importable` which get passed as a special
|
||||||
|
argument (one that can be use in an `imports` line) to your hosts. All lists defined
|
||||||
They are defined with the `suites` argument in either the `home` or `nixos` namespace.
|
in `suites` are flattened and type-checked as paths.
|
||||||
Suites should be passed as a function that take profiles as an argument.
|
|
||||||
|
|
||||||
## Definition
|
## Definition
|
||||||
```nix
|
```nix
|
||||||
|
Loading…
Reference in New Issue
Block a user