lib: fix typos
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
# This improves performance, but all nipxkgs.* options will be ignored.
|
# This improves performance, but all nipxkgs.* options will be ignored.
|
||||||
# deadnix: skip
|
# deadnix: skip
|
||||||
inventory ? { },
|
inventory ? { },
|
||||||
## Sepcial inputs (not passed to the module system as config)
|
## Special inputs (not passed to the module system as config)
|
||||||
specialArgs ? { }, # Extra arguments to pass to nixosSystem i.e. useful to make self available # A set containing clan meta: name :: string, icon :: string, description :: string
|
specialArgs ? { }, # Extra arguments to pass to nixosSystem i.e. useful to make self available # A set containing clan meta: name :: string, icon :: string, description :: string
|
||||||
##
|
##
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ in
|
|||||||
type = types.submodule {
|
type = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
# Those options are interfaced by the CLI
|
# Those options are interfaced by the CLI
|
||||||
# We don't speficy the type here, for better performance.
|
# We don't specify the type here, for better performance.
|
||||||
inventory = lib.mkOption { type = lib.types.raw; };
|
inventory = lib.mkOption { type = lib.types.raw; };
|
||||||
inventoryFile = lib.mkOption { type = lib.types.raw; };
|
inventoryFile = lib.mkOption { type = lib.types.raw; };
|
||||||
clanModules = lib.mkOption { type = lib.types.raw; };
|
clanModules = lib.mkOption { type = lib.types.raw; };
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ let
|
|||||||
|
|
||||||
extraModulesOption = lib.mkOption {
|
extraModulesOption = lib.mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
List of addtionally imported `.nix` expressions.
|
List of additionally imported `.nix` expressions.
|
||||||
|
|
||||||
Supported types:
|
Supported types:
|
||||||
|
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ rec {
|
|||||||
additionalProperties = true;
|
additionalProperties = true;
|
||||||
}
|
}
|
||||||
# parse attrsOf
|
# parse attrsOf
|
||||||
# TODO: if nested option is excluded, the parent sould be excluded too
|
# TODO: if nested option is excluded, the parent should be excluded too
|
||||||
else if
|
else if
|
||||||
option.type.name == "attrsOf" || option.type.name == "lazyAttrsOf"
|
option.type.name == "attrsOf" || option.type.name == "lazyAttrsOf"
|
||||||
# return jsonschema property definition for attrs
|
# return jsonschema property definition for attrs
|
||||||
|
|||||||
Reference in New Issue
Block a user