wireguard/home: Fix peer-to-peer connection
Public clients also need to have all peers configured, so they can connect to them.
This commit is contained in:
parent
bbda930013
commit
d621e84a00
|
@ -67,7 +67,7 @@ in
|
||||||
endpoint = "${hostname}.sbruder.de:51820";
|
endpoint = "${hostname}.sbruder.de:51820";
|
||||||
}))
|
}))
|
||||||
(lib.filterAttrs
|
(lib.filterAttrs
|
||||||
(n: v: n != config.networking.hostName && (enableServer || v.public))
|
(n: v: n != config.networking.hostName && (enableServer || v.public || isPublic))
|
||||||
peers));
|
peers));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue