wireguard/home: Fix peer-to-peer connection

Public clients also need to have all peers configured, so they can
connect to them.
neomutt
Simon Bruder 2021-09-03 15:31:45 +02:00
parent bbda930013
commit d621e84a00
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ in
endpoint = "${hostname}.sbruder.de:51820";
}))
(lib.filterAttrs
(n: v: n != config.networking.hostName && (enableServer || v.public))
(n: v: n != config.networking.hostName && (enableServer || v.public || isPublic))
peers));
};