diff --git a/shared/commons/mesh.nix b/shared/commons/mesh.nix index 0d85bce..798ccfe 100644 --- a/shared/commons/mesh.nix +++ b/shared/commons/mesh.nix @@ -36,7 +36,9 @@ let if4 = { "mesh-${shorten peerName}-${toString remoteZone}-${toString remoteId}" = { ips = [ + "172.19.${toString myId}.${toString myId}/32" "172.19.${toString remoteId}.${toString myId}/32" + "fc00::${toString myId}:${toString myId}/128" "fc00::${toString remoteId}:${toString myId}/128" ]; privateKeyFile = config.age.secrets."wg-private-zone-${toString myZone}-id-${toString myId}".path;