fix: wireguard address option default + clarify peer mesh inclusion doc
This commit is contained in:
parent
89609aaa6a
commit
9e63c9c1d0
1 changed files with 4 additions and 2 deletions
|
|
@ -162,8 +162,9 @@ in
|
||||||
WireGuard mesh. Used as the `allowedIPs` for the peer's
|
WireGuard mesh. Used as the `allowedIPs` for the peer's
|
||||||
WireGuard config entry and injected into `HYPERHIVE_PEERS`
|
WireGuard config entry and injected into `HYPERHIVE_PEERS`
|
||||||
so hive-c0re can route intra-swarm traffic to the mesh
|
so hive-c0re can route intra-swarm traffic to the mesh
|
||||||
address rather than the public domain. Required when
|
address rather than the public domain. Required to include
|
||||||
`wireguardPublicKey` is set.
|
the peer in the WireGuard mesh (peers missing this field
|
||||||
|
are silently excluded from `wg-hive`).
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -218,6 +219,7 @@ in
|
||||||
|
|
||||||
address = lib.mkOption {
|
address = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
default = "";
|
||||||
example = "10.100.0.1/24";
|
example = "10.100.0.1/24";
|
||||||
description = ''
|
description = ''
|
||||||
IP address (with prefix) of this host on the WireGuard mesh.
|
IP address (with prefix) of this host on the WireGuard mesh.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue