Fixed headscale documentation
This commit is contained in:
parent
096a70d317
commit
512798a922
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
title: Headscale
|
title: Headscale
|
||||||
description: Headscale Widget Configuration
|
description: Headscale Widget Configuration
|
||||||
@ -5,11 +6,11 @@ description: Headscale Widget Configuration
|
|||||||
|
|
||||||
Learn more about [Headscale](https://headscale.net/).
|
Learn more about [Headscale](https://headscale.net/).
|
||||||
|
|
||||||
You will need to generate an API access token from the [command line](https://headscale.net/ref/remote-cli/) using `headscale apikeys create` command.
|
You will need to generate an API access token from the [command line](https://headscale.net/ref/remote-cli/#create-an-api-key) using `headscale apikeys create` command.
|
||||||
|
|
||||||
To find your node ID, you can use `headscale nodes list` command.
|
To find your node ID, you can use `headscale nodes list` command.
|
||||||
|
|
||||||
Allowed fields: `["name", "address", "last_seen", "online"]`.
|
Allowed fields: `["name", "address", "last_seen", "status"]`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
widget:
|
widget:
|
||||||
@ -17,3 +18,4 @@ widget:
|
|||||||
nodeId: nodeid
|
nodeId: nodeid
|
||||||
key: headscaleapiaccesstoken
|
key: headscaleapiaccesstoken
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user