From ff356662daff3fda6968cc4139491d4c3d2a266e Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 17 Nov 2026 14:14:46 +0000 Subject: [PATCH] all: regenerate config docs --- docs/ref/config-example.yaml | 10 +++++----- docs/ref/configuration-options.md | 2 +- hscontrol/types/config_docs_generated.go | 2 +- nix/options.generated.nix | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/ref/config-example.yaml b/docs/ref/config-example.yaml index f1772d431..e7303c343 100644 --- a/docs/ref/config-example.yaml +++ b/docs/ref/config-example.yaml @@ -78,11 +78,11 @@ log: # Covers node key expiry, ephemeral nodes and subnet routes. node: - # The key expiry given to a non-tagged node that registers without one, - # whatever the method (auth key, CLI, web, OIDC). An expiry the client asks - # for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` - # still apply. Tagged nodes never get this default. Zero or negative disables - # the default. + # The key expiry given to a node that registers without one, whatever the + # method (auth key, CLI, web, OIDC). An expiry the client asks for, + # `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still + # apply. A tagged node registers with key expiry turned off and keeps this + # time for when it is turned on. Zero or negative disables the default. expiry: 0s # Covers ephemeral nodes, which register with an ephemeral auth key and are # deleted once they have been offline for `node.ephemeral.inactivity_timeout`. diff --git a/docs/ref/configuration-options.md b/docs/ref/configuration-options.md index 5c46a706b..963417aa8 100644 --- a/docs/ref/configuration-options.md +++ b/docs/ref/configuration-options.md @@ -584,7 +584,7 @@ Covers node key expiry, ephemeral nodes and subnet routes. - **Default:** `0s` - **Env:** `HEADSCALE_NODE_EXPIRY` -The key expiry given to a non-tagged node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, [`oidc.use_expiry_from_token`](#oidc.use_expiry_from_token) and an admin's `headscale nodes expire` still apply. Tagged nodes never get this default. Zero or negative disables the default. +The key expiry given to a node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, [`oidc.use_expiry_from_token`](#oidc.use_expiry_from_token) and an admin's `headscale nodes expire` still apply. A tagged node registers with key expiry turned off and keeps this time for when it is turned on. Zero or negative disables the default. === "YAML" diff --git a/hscontrol/types/config_docs_generated.go b/hscontrol/types/config_docs_generated.go index 4ed236427..ad07b3ceb 100644 --- a/hscontrol/types/config_docs_generated.go +++ b/hscontrol/types/config_docs_generated.go @@ -84,7 +84,7 @@ var configFieldDocs = map[string]string{ "Nameservers.Global": "The nameservers for names `dns.nameservers.split` does not cover: IP addresses, or DNS-over-HTTPS URLs such as `https://dns.nextdns.io/`. Empty by default, so clients keep their own DNS: headscale points them at no resolver you did not list.", "Nameservers.Split": "Maps a domain to the nameservers that answer for it (split DNS). Domains are lowercased on load; two that differ only in case are an error.", "NodeConfig.Ephemeral": "Covers ephemeral nodes, which register with an ephemeral auth key and are deleted once they have been offline for `node.ephemeral.inactivity_timeout`.", - "NodeConfig.Expiry": "The key expiry given to a non-tagged node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. Tagged nodes never get this default. Zero or negative disables the default.", + "NodeConfig.Expiry": "The key expiry given to a node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. A tagged node registers with key expiry turned off and keeps this time for when it is turned on. Zero or negative disables the default.", "NodeConfig.Routes": "Covers the routes nodes advertise. See [Routes](https://headscale.net/stable/ref/routes/).", "NoiseConfig.PrivateKeyPath": "The file holding the Noise private key, which encrypts traffic between headscale and clients, relative to the configuration file. A missing file is created with a new key.", "OIDCConfig.AllowedDomains": "Admits only users whose email domain is listed. Empty admits any domain.", diff --git a/nix/options.generated.nix b/nix/options.generated.nix index e9d7ea094..4a42d4bc3 100644 --- a/nix/options.generated.nix +++ b/nix/options.generated.nix @@ -212,7 +212,7 @@ in type = t.duration; default = "0s"; description = '' - The key expiry given to a non-tagged node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. Tagged nodes never get this default. Zero or negative disables the default. + The key expiry given to a node that registers without one, whatever the method (auth key, CLI, web, OIDC). An expiry the client asks for, `oidc.use_expiry_from_token` and an admin's `headscale nodes expire` still apply. A tagged node registers with key expiry turned off and keeps this time for when it is turned on. Zero or negative disables the default. ''; example = "2160h"; };