From 4ad2dcdf4eee1947f18ac00432d7d854ee9dead4 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 17 Dec 2024 11:58:28 +0100 Subject: [PATCH] lib/*/interface.nix: Fix typos --- lib/build-clan/interface.nix | 2 +- lib/inventory/build-inventory/interface.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/build-clan/interface.nix b/lib/build-clan/interface.nix index 1092212ee..ac1749391 100644 --- a/lib/build-clan/interface.nix +++ b/lib/build-clan/interface.nix @@ -81,7 +81,7 @@ in A function that maps from architecture to pkg. `( string -> pkgs )` 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. ''; diff --git a/lib/inventory/build-inventory/interface.nix b/lib/inventory/build-inventory/interface.nix index 2cf922197..ca1cc5b18 100644 --- a/lib/inventory/build-inventory/interface.nix +++ b/lib/inventory/build-inventory/interface.nix @@ -113,7 +113,7 @@ in Each module can be referenced by its `attributeName` in the `inventory.services` attribute set. !!! 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 at least `features = [ "inventory" ]` in the frontmatter section. @@ -124,7 +124,7 @@ in ???+ example ```nix buildClan { - # 1. Add the module to the avilable inventory modules + # 1. Add the module to the available inventory modules inventory.modules = { 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. !!! 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.