lib: fix typos

This commit is contained in:
danjujan
2024-10-25 15:14:43 +02:00
committed by Mic92
parent d9f2519ada
commit 61958130fd
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. # 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
## ##
... ...

View File

@@ -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; };

View File

@@ -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:

View File

@@ -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