Fix wireguard

This commit is contained in:
soraefir
2026-05-05 00:06:47 +02:00
parent d626c13572
commit cd05d939a8

View File

@@ -18,7 +18,7 @@ in
listenPort = 1515; listenPort = 1515;
mtu = 1340; mtu = 1340;
peers = peers =
if config.syscfg.server.wireguard then if (config.syscfg.server ? wireguard) then
map (p: { map (p: {
name = p.syscfg.hostname; name = p.syscfg.hostname;
publicKey = p.syscfg.net.wg.pubkey; publicKey = p.syscfg.net.wg.pubkey;