diff --git a/lib/frontmatter/interface.nix b/lib/frontmatter/interface.nix index 52c0bcb3c..4c1a1623d 100644 --- a/lib/frontmatter/interface.nix +++ b/lib/frontmatter/interface.nix @@ -63,7 +63,7 @@ in constraints = mkOption { default = { }; description = '' - Contraints for the module + Constraints for the module The following example requires exactly one `server` and supports up to `7` clients diff --git a/pkgs/clan-cli/clan_cli/api/__init__.py b/pkgs/clan-cli/clan_cli/api/__init__.py index c0a1ce37b..11ea0417b 100644 --- a/pkgs/clan-cli/clan_cli/api/__init__.py +++ b/pkgs/clan-cli/clan_cli/api/__init__.py @@ -272,7 +272,7 @@ API.register(open_file) # seems direct 'key in dict' doesnt work here if arg_name not in sig.parameters.keys(): # noqa: SIM118 - msg = f"Argument {arg_name} not found in api method '{method_name}'. Avilable arguments: {list(sig.parameters.keys())}" + msg = f"Argument {arg_name} not found in api method '{method_name}'. Available arguments: {list(sig.parameters.keys())}" raise ClanError(msg) param = sig.parameters.get(arg_name) diff --git a/pkgs/clan-cli/clan_cli/machines/create.py b/pkgs/clan-cli/clan_cli/machines/create.py index 28b1729be..cc7bb728c 100644 --- a/pkgs/clan-cli/clan_cli/machines/create.py +++ b/pkgs/clan-cli/clan_cli/machines/create.py @@ -132,7 +132,7 @@ def create_machine(opts: CreateOptions) -> None: inventory["machines"] = inventory.get("machines", {}) inventory["machines"][machine_name] = new_machine - # Commit at the end in that order to avoid commiting halve-baked machines + # Commit at the end in that order to avoid committing halve-baked machines # TODO: automatic rollbacks if something goes wrong set_inventory(inventory, clan_dir, "Imported machine from template") diff --git a/pkgs/clan-cli/clan_cli/vars/generate.py b/pkgs/clan-cli/clan_cli/vars/generate.py index 6fb4c8241..800012449 100644 --- a/pkgs/clan-cli/clan_cli/vars/generate.py +++ b/pkgs/clan-cli/clan_cli/vars/generate.py @@ -406,7 +406,7 @@ def _check_can_migrate( msg = f"Cannot migrate facts for generator {generator.name} as some files already exist in the store" raise ClanError(msg) if all_files_present: - # all filles already migrated, no need to run migration again + # all files already migrated, no need to run migration again return False # ensure that all files can be migrated (exists in the corresponding fact store) diff --git a/pkgs/moonlight-sunshine-accept/moonlight_sunshine_accept/moonlight/state.py b/pkgs/moonlight-sunshine-accept/moonlight_sunshine_accept/moonlight/state.py index 1a5afb022..6d7803805 100644 --- a/pkgs/moonlight-sunshine-accept/moonlight_sunshine_accept/moonlight/state.py +++ b/pkgs/moonlight-sunshine-accept/moonlight_sunshine_accept/moonlight/state.py @@ -51,7 +51,7 @@ def init_state(certificate: str, key: str) -> None: # write the initial bootstrap config file with moonlight_state_file().open("w") as file: config = ConfigParser() - # bytearray ojbects are not supported by ConfigParser, + # bytearray objects are not supported by ConfigParser, # so we need to adjust them ourselves config.add_section("General") config.set("General", "certificate", convert_string_to_bytearray(certificate))