mirror of
https://github.com/Noratrieb/vps.git
synced 2026-07-12 08:17:45 +02:00
minipc
This commit is contained in:
parent
131a282338
commit
9dd5ae6698
44 changed files with 353 additions and 79 deletions
|
|
@ -35,7 +35,9 @@ in
|
|||
let peerConfig = (builtins.getAttr peer networkingConfig).wg;
|
||||
in {
|
||||
inherit (peerConfig) publicKey;
|
||||
endpoint = "${peer}.infra.noratrieb.dev:${toString listenPort}";
|
||||
endpoint =
|
||||
if !(builtins.hasAttr "noEndpoint" peerConfig) || !peerConfig.noEndpoint
|
||||
then "${peer}.infra.noratrieb.dev:${toString listenPort}" else null;
|
||||
allowedIPs = [ "${peerConfig.privateIP}/32" ];
|
||||
# sometimes there's some weirdness....??
|
||||
persistentKeepalive = 25;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue