lib/*/interface.nix: Fix typos
This commit is contained in:
@@ -81,7 +81,7 @@ in
|
|||||||
A function that maps from architecture to pkg. `( string -> pkgs )`
|
A function that maps from architecture to pkg. `( string -> pkgs )`
|
||||||
|
|
||||||
If specified this nixpkgs will be only imported once for each system.
|
If specified this nixpkgs will be only imported once for each system.
|
||||||
This improves performance, but all `nipxkgs.*` options will be ignored.
|
This improves performance, but all `nixpkgs.*` options will be ignored.
|
||||||
|
|
||||||
Returning `null` for a system will fallback to the default behavior of respecting the `nixpkgs.*` options.
|
Returning `null` for a system will fallback to the default behavior of respecting the `nixpkgs.*` options.
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ in
|
|||||||
Each module can be referenced by its `attributeName` in the `inventory.services` attribute set.
|
Each module can be referenced by its `attributeName` in the `inventory.services` attribute set.
|
||||||
|
|
||||||
!!! Important
|
!!! Important
|
||||||
Each module MUST fullfill the following requirements to be usable with the inventory:
|
Each module MUST fulfill the following requirements to be usable with the inventory:
|
||||||
|
|
||||||
- The module MUST have a `README.md` file with a `description`.
|
- The module MUST have a `README.md` file with a `description`.
|
||||||
- The module MUST have at least `features = [ "inventory" ]` in the frontmatter section.
|
- The module MUST have at least `features = [ "inventory" ]` in the frontmatter section.
|
||||||
@@ -124,7 +124,7 @@ in
|
|||||||
???+ example
|
???+ example
|
||||||
```nix
|
```nix
|
||||||
buildClan {
|
buildClan {
|
||||||
# 1. Add the module to the avilable inventory modules
|
# 1. Add the module to the available inventory modules
|
||||||
inventory.modules = {
|
inventory.modules = {
|
||||||
custom-module = ./modules/my_module;
|
custom-module = ./modules/my_module;
|
||||||
};
|
};
|
||||||
@@ -177,7 +177,7 @@ in
|
|||||||
It is possible to compute tags based on the machines properties or based on other tags.
|
It is possible to compute tags based on the machines properties or based on other tags.
|
||||||
|
|
||||||
!!! danger
|
!!! danger
|
||||||
This is a powerfull feature and should be used with caution.
|
This is a powerful feature and should be used with caution.
|
||||||
|
|
||||||
It is possible to cause infinite recursion by computing tags based on the machines properties or based on other tags.
|
It is possible to cause infinite recursion by computing tags based on the machines properties or based on other tags.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user