From 9e63c9c1d0ece0e831bc02eef8af5ce8a627f313 Mon Sep 17 00:00:00 2001 From: atlas Date: Wed, 3 Jun 2026 13:23:55 +0200 Subject: [PATCH] fix: wireguard address option default + clarify peer mesh inclusion doc --- nix/modules/hive-c0re.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nix/modules/hive-c0re.nix b/nix/modules/hive-c0re.nix index 28400266..7b89f221 100644 --- a/nix/modules/hive-c0re.nix +++ b/nix/modules/hive-c0re.nix @@ -162,8 +162,9 @@ in WireGuard mesh. Used as the `allowedIPs` for the peer's WireGuard config entry and injected into `HYPERHIVE_PEERS` so hive-c0re can route intra-swarm traffic to the mesh - address rather than the public domain. Required when - `wireguardPublicKey` is set. + address rather than the public domain. Required to include + the peer in the WireGuard mesh (peers missing this field + are silently excluded from `wg-hive`). ''; }; }; @@ -218,6 +219,7 @@ in address = lib.mkOption { type = lib.types.str; + default = ""; example = "10.100.0.1/24"; description = '' IP address (with prefix) of this host on the WireGuard mesh.