docs: Fixup stale references

This commit is contained in:
Qubasa
2025-09-16 15:09:35 +02:00
parent 13eba4d7c5
commit d25818580d
15 changed files with 57 additions and 65 deletions

View File

@@ -1,5 +1,4 @@
site_name: Documentation site_name: Documentation
site_name: Documentation
site_url: https://docs.clan.lol site_url: https://docs.clan.lol
repo_url: https://git.clan.lol/clan/clan-core/ repo_url: https://git.clan.lol/clan/clan-core/
repo_name: "_>" repo_name: "_>"
@@ -63,13 +62,11 @@ nav:
- Guides: - Guides:
- Inventory: - Inventory:
- Introduction to Inventory: guides/inventory/inventory.md - Introduction to Inventory: guides/inventory/inventory.md
- Minimal Example: guides/inventory/minimal-example.md - File Autoincludes: guides/inventory/autoincludes.md
- Clan Services: - Clan Services:
- Introduction to Clan Services: guides/services/index.md - Inventory Guide: guides/inventory/clanServices.md
- Official Clan Services: guides/services/official.md - Author Your Own Service: guides/services/community.md
- Community Clan Services: guides/services/community.md
- Write Your Own Clan Service: guides/services/write-your-own.md
- Vars: - Vars:
- Introduction to Vars: guides/vars/vars-overview.md - Introduction to Vars: guides/vars/vars-overview.md
- Minimal Example: guides/vars/vars-backend.md - Minimal Example: guides/vars/vars-backend.md
@@ -86,20 +83,12 @@ nav:
- Introduction to Networking: guides/networking/networking.md - Introduction to Networking: guides/networking/networking.md
- Zerotier VPN: guides/networking/mesh-vpn.md - Zerotier VPN: guides/networking/mesh-vpn.md
- Disko Templates: - Disko Templates:
- Introduction to Disko Templates: guides/disko-templates/index.md
- Official Disko Templates: guides/disko-templates/official.md
- Community Disko Templates: guides/disko-templates/community.md - Community Disko Templates: guides/disko-templates/community.md
- Write Your Own Disko Template: guides/disko-templates/write-your-own.md
- Backups: - Backups:
- Introduction to Backups: guides/backups.md - Introduction to Backups: guides/backups.md
- Minimal Example: guides/backups/minimal.md
- Diving deeper: guides/backups/concepts.md
- Advanced Examples: guides/backups/advanced-examples.md
- Troubleshooting: guides/backups/troubleshooting.md
- Flake-parts: guides/flake-parts.md - Flake-parts: guides/flake-parts.md
- macOS: - macOS:
- Introduction to macOS: guides/macos.md - Managing macOS Machines: guides/macos.md
- Example: guides/macos/example.md
# Should be part of the respective sections above # Should be part of the respective sections above
# machines, disko, clan # machines, disko, clan
# - Templates: concepts/templates.md # - Templates: concepts/templates.md
@@ -113,6 +102,9 @@ nav:
- Hacking: guides/contributing/CONTRIBUTING.md - Hacking: guides/contributing/CONTRIBUTING.md
- Advanced Debugging: guides/contributing/debugging.md - Advanced Debugging: guides/contributing/debugging.md
- Testing: guides/contributing/testing.md - Testing: guides/contributing/testing.md
- Concepts:
- Templates: concepts/templates.md
- Reference: - Reference:
- Overview: reference/index.md - Overview: reference/index.md
- Clan Service API: reference/clanServices/clan-service-author-interface.md - Clan Service API: reference/clanServices/clan-service-author-interface.md
@@ -174,28 +166,28 @@ nav:
- Services: - Services:
- Introduction to ClanServices: reference/clanServices/index.md - Introduction to ClanServices: reference/clanServices/index.md
- Official: - Official:
- reference/clanServices/admin.md - reference/clanServices/admin.md
- reference/clanServices/borgbackup.md - reference/clanServices/borgbackup.md
- reference/clanServices/certificates.md - reference/clanServices/certificates.md
- reference/clanServices/coredns.md - reference/clanServices/coredns.md
- reference/clanServices/data-mesher.md - reference/clanServices/data-mesher.md
- reference/clanServices/dyndns.md - reference/clanServices/dyndns.md
- reference/clanServices/emergency-access.md - reference/clanServices/emergency-access.md
- reference/clanServices/garage.md - reference/clanServices/garage.md
- reference/clanServices/hello-world.md - reference/clanServices/hello-world.md
- reference/clanServices/importer.md - reference/clanServices/importer.md
- reference/clanServices/localbackup.md - reference/clanServices/localbackup.md
- reference/clanServices/matrix-synapse.md - reference/clanServices/matrix-synapse.md
- reference/clanServices/mycelium.md - reference/clanServices/mycelium.md
- reference/clanServices/monitoring.md - reference/clanServices/monitoring.md
- reference/clanServices/packages.md - reference/clanServices/packages.md
- reference/clanServices/sshd.md - reference/clanServices/sshd.md
- reference/clanServices/syncthing.md - reference/clanServices/syncthing.md
- reference/clanServices/trusted-nix-caches.md - reference/clanServices/trusted-nix-caches.md
- reference/clanServices/users.md - reference/clanServices/users.md
- reference/clanServices/wifi.md - reference/clanServices/wifi.md
- reference/clanServices/wireguard.md - reference/clanServices/wireguard.md
- reference/clanServices/zerotier.md - reference/clanServices/zerotier.md
- Community: community/services/index.md - Community: community/services/index.md
- Clan Options: "/options" - Clan Options: "/options"

View File

@@ -5,7 +5,7 @@ This guide provides an example setup for a single-disk ZFS system with native en
This configuration only applies to `systemd-boot` enabled systems and **requires** UEFI booting. This configuration only applies to `systemd-boot` enabled systems and **requires** UEFI booting.
!!! Info "Secure Boot" !!! Info "Secure Boot"
This guide is compatible with systems that have [secure boot disabled](../guides/secure-boot.md). If you encounter boot issues, check if secure boot needs to be disabled in your UEFI settings. This guide is compatible with systems that have [secure boot disabled](./secure-boot.md). If you encounter boot issues, check if secure boot needs to be disabled in your UEFI settings.
Replace the highlighted lines with your own disk-id. Replace the highlighted lines with your own disk-id.
You can find our your disk-id by executing: You can find our your disk-id by executing:

View File

@@ -2,11 +2,11 @@
Machines can be added using the following methods Machines can be added using the following methods
- Create a file `machines/{machine_name}/configuration.nix` (See: [File Autoincludes](../../concepts/autoincludes.md)) - Create a file `machines/{machine_name}/configuration.nix` (See: [File Autoincludes](../inventory/autoincludes.md))
- Imperative via cli command: `clan machines create` - Imperative via cli command: `clan machines create`
- Editing nix expressions in flake.nix See [`clan-core.lib.clan`](/options/?scope=Flake Options (clan.nix file)) - Editing nix expressions in flake.nix See [`clan-core.lib.clan`](/options/?scope=Flake Options (clan.nix file))
See the complete [list](../../concepts/autoincludes.md) of auto-loaded files. See the complete [list](../inventory/autoincludes.md) of auto-loaded files.
## Create a machine ## Create a machine

View File

@@ -10,7 +10,7 @@ In Clan Services are multi-Host & role-based:
- You can use tags instead of explicit machine names. - You can use tags instead of explicit machine names.
To learn more: [Guide about clanService](../clanServices.md) To learn more: [Guide about clanService](../inventory/clanServices.md)
!!! Important !!! Important
It is recommended to add at least one networking service such as `zerotier` that allows to reach all your clan machines from your setup computer across the globe. It is recommended to add at least one networking service such as `zerotier` that allows to reach all your clan machines from your setup computer across the globe.
@@ -41,7 +41,7 @@ To learn more: [Guide about clanService](../clanServices.md)
``` ```
1. See [reference/clanServices](../../reference/clanServices/index.md) for all available services and how to configure them. 1. See [reference/clanServices](../../reference/clanServices/index.md) for all available services and how to configure them.
Or read [authoring/clanServices](../../guides/services/community.md) if you want to bring your own Or read [authoring/clanServices](../services/community.md) if you want to bring your own
2. Replace `__YOUR_CONTROLLER_` with the *name* of your machine. 2. Replace `__YOUR_CONTROLLER_` with the *name* of your machine.

View File

@@ -171,7 +171,7 @@ Clan needs to know where it can reach your hosts. For testing purpose set
} }
``` ```
See our guide on for properly [configuring machines networking](../networking.md) See our guide on for properly [configuring machines networking](../networking/networking.md)
## Next Steps ## Next Steps

View File

@@ -152,7 +152,7 @@ sudo umount /dev/sdb1
## Boot From USB Stick ## Boot From USB Stick
- To use, boot from the Clan USB drive with **secure boot turned off**. For step by step instructions go to [Disabling Secure Boot](../../guides/secure-boot.md) - To use, boot from the Clan USB drive with **secure boot turned off**. For step by step instructions go to [Disabling Secure Boot](../secure-boot.md)
## (Optional) Connect to Wifi Manually ## (Optional) Connect to Wifi Manually

View File

@@ -32,7 +32,7 @@ Ensure that the root login is secured and only used when necessary.
## Multiple Target Hosts ## Multiple Target Hosts
You can now experiment with a new interface that allows you to define multiple `targetHost` addresses for different VPNs. Learn more and try it out in our [networking guide](../networking.md). You can now experiment with a new interface that allows you to define multiple `targetHost` addresses for different VPNs. Learn more and try it out in our [networking guide](../networking/networking.md).
## Updating Machine Configurations ## Updating Machine Configurations

View File

@@ -68,7 +68,7 @@ inventory.instances = {
## Module Settings ## Module Settings
Each role might expose configurable options. See clan's [clanServices Each role might expose configurable options. See clan's [clanServices
reference](../reference/clanServices/index.md) for all available options. reference](../../reference/clanServices/index.md) for all available options.
Settings can be set in per-machine or per-role. The latter is applied to all Settings can be set in per-machine or per-role. The latter is applied to all
machines that are assigned to that role. machines that are assigned to that role.
@@ -155,13 +155,13 @@ inventory.instances = {
You can use services exposed by Clan's core module library, `clan-core`. You can use services exposed by Clan's core module library, `clan-core`.
🔗 See: [List of Available Services in clan-core](../reference/clanServices/index.md) 🔗 See: [List of Available Services in clan-core](../../reference/clanServices/index.md)
## Defining Your Own Service ## Defining Your Own Service
You can also author your own `clanService` modules. You can also author your own `clanService` modules.
🔗 Learn how to write your own service: [Authoring a service](../guides/services/community.md) 🔗 Learn how to write your own service: [Authoring a service](../services/community.md)
You might expose your service module from your flake — this makes it easy for other people to also use your module in their clan. You might expose your service module from your flake — this makes it easy for other people to also use your module in their clan.
@@ -177,7 +177,7 @@ ______________________________________________________________________
## What's Next? ## What's Next?
- [Author your own clanService →](../guides/services/community.md) - [Author your own clanService →](../services/community.md)
- [Migrate from clanModules →](../guides/migrations/migrate-inventory-services.md) - [Migrate from clanModules →](../migrations/migrate-inventory-services.md)
<!-- TODO: * [Understand the architecture →](../explanation/clan-architecture.md) --> <!-- TODO: * [Understand the architecture →](../explanation/clan-architecture.md) -->

View File

@@ -17,13 +17,13 @@ The following tutorial will walk through setting up a Backup service where the t
## Prerequisites ## Prerequisites
- [x] [Add some machines](../guides/getting-started/add-machines.md) to your Clan. - [x] [Add some machines](../getting-started/add-machines.md) to your Clan.
## Services ## Services
The inventory defines `instances` of clan services. Membership of `machines` is defined via `roles` exclusively. The inventory defines `instances` of clan services. Membership of `machines` is defined via `roles` exclusively.
See each [modules documentation](../reference/clanServices/index.md) for its available roles. See each [modules documentation](../../reference/clanServices/index.md) for its available roles.
### Adding services to machines ### Adding services to machines

View File

@@ -7,7 +7,7 @@ This guide explains how to manage macOS machines using Clan.
Currently, Clan supports the following features for macOS: Currently, Clan supports the following features for macOS:
- `clan machines update` for existing [nix-darwin](https://github.com/nix-darwin/nix-darwin) installations - `clan machines update` for existing [nix-darwin](https://github.com/nix-darwin/nix-darwin) installations
- Support for [vars](../guides/vars/vars-overview.md) - Support for [vars](./vars/vars-overview.md)
## Add Your Machine to Your Clan Flake ## Add Your Machine to Your Clan Flake

View File

@@ -1,7 +1,7 @@
# Migrating from using `clanModules` to `clanServices` # Migrating from using `clanModules` to `clanServices`
**Audience**: This is a guide for **people using `clanModules`**. **Audience**: This is a guide for **people using `clanModules`**.
If you are a **module author** and need to migrate your modules please consult our **new** [clanServices authoring guide](../../guides/services/community.md) If you are a **module author** and need to migrate your modules please consult our **new** [clanServices authoring guide](../services/community.md)
## What's Changing? ## What's Changing?
@@ -378,6 +378,6 @@ instances = {
## Further reference ## Further reference
* [Inventory Concept](../../concepts/inventory.md) * [Inventory Concept](../inventory/inventory.md)
* [Authoring a 'clan.service' module](../../guides/services/community.md) * [Authoring a 'clan.service' module](../services/community.md)
* [ClanServices](../clanServices.md) * [ClanServices](../inventory/clanServices.md)

View File

@@ -2,8 +2,8 @@
For a high level overview about `vars` see our [blog post](https://clan.lol/blog/vars/). For a high level overview about `vars` see our [blog post](https://clan.lol/blog/vars/).
This guide will help you migrate your modules that still use our [`facts`](../../guides/secrets.md) backend This guide will help you migrate your modules that still use our [`facts`](../secrets.md) backend
to the [`vars`](../../guides/vars/vars-overview.md) backend. to the [`vars`](../vars/vars-overview.md) backend.
The `vars` [module](../../reference/clan.core/vars.md) and the clan [command](../../reference/cli/vars.md) work in tandem, they should ideally be kept in sync. The `vars` [module](../../reference/clan.core/vars.md) and the clan [command](../../reference/cli/vars.md) work in tandem, they should ideally be kept in sync.

View File

@@ -1,5 +1,5 @@
This article provides an overview over the underlying secrets system which is used by [Vars](../guides/vars/vars-overview.md). This article provides an overview over the underlying secrets system which is used by [Vars](./vars/vars-overview.md).
Under most circumstances you should use [Vars](../guides/vars/vars-overview.md) directly instead. Under most circumstances you should use [Vars](./vars/vars-overview.md) directly instead.
Consider using `clan secrets` only for managing admin users and groups, as well as a debugging tool. Consider using `clan secrets` only for managing admin users and groups, as well as a debugging tool.

View File

@@ -301,5 +301,5 @@ instnaces.machine-type = {
## Further Reading ## Further Reading
- [Reference Documentation for Service Authors](../../reference/clanServices/clan-service-author-interface.md) - [Reference Documentation for Service Authors](../../reference/clanServices/clan-service-author-interface.md)
- [Migration Guide from ClanModules to ClanServices](../../guides/migrations/migrate-inventory-services.md) - [Migration Guide from ClanModules to ClanServices](../migrations/migrate-inventory-services.md)
- [Decision that lead to ClanServices](../../decisions/01-ClanModules.md) - [Decision that lead to ClanServices](../../decisions/01-ClanModules.md)

View File

@@ -12,13 +12,13 @@ hide:
<div class="grid cards" markdown> <div class="grid cards" markdown>
- [Inventory](./guides/inventory.md) - [Inventory](./guides/inventory/inventory.md)
--- ---
Learn how about inventory Learn how about inventory
- [Vars](./guides/vars.md) - [Vars](./guides/vars/vars-overview.md)
--- ---
@@ -48,7 +48,7 @@ hide:
Search all options Search all options
- [Services](./reference/cli/index.md) - [Services](./reference/clanServices/index.md)
--- ---