From dfdcad7fc52f9a3702629212a18fb83ddb582dd2 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Wed, 22 Jan 2025 13:26:54 +0100 Subject: [PATCH] Fix various typos --- docs/site/clanmodules/index.md | 4 ++-- docs/site/manual/vars-backend.md | 6 +++--- flake.nix | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/site/clanmodules/index.md b/docs/site/clanmodules/index.md index b6a0fff95..783a9113c 100644 --- a/docs/site/clanmodules/index.md +++ b/docs/site/clanmodules/index.md @@ -48,12 +48,12 @@ clanModules/borgbackup === "User module" If the module should be ad-hoc loaded. - It can be made avilable in any project via the [`clan.inventory.modules`](../reference/nix-api/inventory.md#inventory.modules) attribute. + It can be made available in any project via the [`clan.inventory.modules`](../reference/nix-api/inventory.md#inventory.modules) attribute. ```nix title="flake.nix" # ... buildClan { - # 1. Add the module to the avilable clanModules with inventory support + # 1. Add the module to the available clanModules with inventory support inventory.modules = { custom-module = ./modules/my_module; }; diff --git a/docs/site/manual/vars-backend.md b/docs/site/manual/vars-backend.md index 9575746e6..501dd3bb2 100644 --- a/docs/site/manual/vars-backend.md +++ b/docs/site/manual/vars-backend.md @@ -7,7 +7,7 @@ Defining a linux user's password via the nixos configuration previously required In this example, we will guide you through automating that interaction using clan `vars`. -For a more general exaplanation of what clan vars are and how it works, see the intro of the [Reference Documentation for vars](https://docs.clan.lol/reference/clan-core/vars/) +For a more general explanation of what clan vars are and how it works, see the intro of the [Reference Documentation for vars](https://docs.clan.lol/reference/clan-core/vars/) This guide assumes - clan is set up already (see [Getting Started](../getting-started/index.md)) @@ -114,7 +114,7 @@ clan machines update my_machine If we just imported the `root-password.nix` from above into more machines, clan would ask for a new password for each additional machine. -If the root password instead should only be entered once and shared across all machines, the generator defined above needs to be declard as `shared`, by adding `share = true` to it: +If the root password instead should only be entered once and shared across all machines, the generator defined above needs to be declared as `shared`, by adding `share = true` to it: ```nix {config, pkgs, ...}: { clan.vars.generators.root-password = { @@ -124,7 +124,7 @@ If the root password instead should only be entered once and shared across all m } ``` -Importing that shared generator into each machine, will ensure that the pasword is only asked once the first machine gets updated and then re-used for all subsequent machines. +Importing that shared generator into each machine, will ensure that the password is only asked once the first machine gets updated and then re-used for all subsequent machines. ## Change the root password diff --git a/flake.nix b/flake.nix index a7b8f1437..f32ef406c 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ }; systems = import systems; imports = - # only imporing existing paths allows to minimize the flake for test + # only importing existing paths allows to minimize the flake for test # by removing files filter pathExists [ ./checks/flake-module.nix