lib: fix typos

This commit is contained in:
danjujan
2024-10-25 15:14:43 +02:00
committed by Mic92
parent 286d70e1a8
commit 7a1e952c54
4 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
# This improves performance, but all nipxkgs.* options will be ignored.
# deadnix: skip
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
##
...

View File

@@ -99,7 +99,7 @@ in
type = types.submodule {
options = {
# 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; };
inventoryFile = lib.mkOption { type = lib.types.raw; };
clanModules = lib.mkOption { type = lib.types.raw; };

View File

@@ -45,7 +45,7 @@ let
extraModulesOption = lib.mkOption {
description = ''
List of addtionally imported `.nix` expressions.
List of additionally imported `.nix` expressions.
Supported types:

View File

@@ -302,7 +302,7 @@ rec {
additionalProperties = true;
}
# 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
option.type.name == "attrsOf" || option.type.name == "lazyAttrsOf"
# return jsonschema property definition for attrs