Fix wireguard
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user