docs: fix typos

This commit is contained in:
a-kenji
2024-10-16 22:55:31 +02:00
parent f3c2aa154a
commit c2992daef1
2 changed files with 3 additions and 3 deletions

View File

@@ -421,7 +421,7 @@ It can be set via the `inventory` attribute of the [`buildClan`](./buildclan.md#
"""
# Inventory options are already included under the buildClan attribute
# We just omited them in the buildClan docs, because we want a seperate output for the inventory model
# We just omitted them in the buildClan docs, because we want a separate output for the inventory model
with Path(BUILD_CLAN_PATH).open() as f:
options: dict[str, dict[str, Any]] = json.load(f)
@@ -429,7 +429,7 @@ It can be set via the `inventory` attribute of the [`buildClan`](./buildclan.md#
name, _info = item
parts = name.split(".") if "." in name else ["root", "sub"]
# Make everything fixed lenght.
# Make everything fixed length.
remain = 10 - len(parts)
parts.extend(["A"] * remain)
category = parts[1]

View File

@@ -147,7 +147,7 @@ Generate the `hardware-configuration.nix` file for your machine by executing the
clan machines update-hardware-config [MACHINE_NAME]
```
replace `[MACHINE_NAME]` with the name of the machine i.e. `jon` and `[HOSTNAME]` with the `ip_adress` or `hostname` of the machine within the network. i.e. `<IP>`
replace `[MACHINE_NAME]` with the name of the machine i.e. `jon` and `[HOSTNAME]` with the `ip_address` or `hostname` of the machine within the network. i.e. `<IP>`
!!! Example
```bash