From 3d680bcc5f4ddc5bcefec6151f0c99832756e0d3 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 16 Sep 2025 15:31:36 +0200 Subject: [PATCH] docs: remove references to buildClan --- docs/nix/flake-module.nix | 4 ++-- docs/site/guides/getting-started/update.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/nix/flake-module.nix b/docs/nix/flake-module.nix index 2712f5b0d..508435f17 100644 --- a/docs/nix/flake-module.nix +++ b/docs/nix/flake-module.nix @@ -11,7 +11,7 @@ ... }: let - buildClanOptions = self'.legacyPackages.clan-internals-docs; + clanOptions = self'.legacyPackages.clan-internals-docs; # Simply evaluated options (JSON) # { clanCore = «derivation JSON»; clanModules = { ${name} = «derivation JSON» }; } jsonDocs = pkgs.callPackage ./get-module-docs.nix { @@ -74,7 +74,7 @@ export CLAN_MODULES_VIA_SERVICE=${clanModulesViaService} export CLAN_SERVICE_INTERFACE=${self'.legacyPackages.clan-service-module-interface}/share/doc/nixos/options.json - export BUILD_CLAN_PATH=${buildClanOptions}/share/doc/nixos/options.json + export BUILD_CLAN_PATH=${clanOptions}/share/doc/nixos/options.json mkdir $out diff --git a/docs/site/guides/getting-started/update.md b/docs/site/guides/getting-started/update.md index 094c80422..fb15f8261 100644 --- a/docs/site/guides/getting-started/update.md +++ b/docs/site/guides/getting-started/update.md @@ -2,7 +2,7 @@ # Update Machines The Clan command line interface enables you to update machines remotely over SSH. -In this guide we will teach you how to set a `targetHost` in Nix, +In this guide we will teach you how to set a `targetHost` in Nix, and how to define a remote builder for your machine closures. @@ -65,7 +65,7 @@ During an update, clan will ssh into the `buildHost` and run `nixos-rebuild` fro ```{.nix hl_lines="5" .no-copy} -buildClan { +clan { # ... machines = { "jon" = { @@ -101,7 +101,7 @@ To exclude machines from being updated when running `clan machines update` witho one can set the `clan.deployment.requireExplicitUpdate` option to true: ```{.nix hl_lines="5" .no-copy} -buildClan { +clan { # ... machines = { "jon" = {