diff --git a/modules/services/wgautomesh.nix b/modules/services/wgautomesh.nix index b1da2df..e127348 100644 --- a/modules/services/wgautomesh.nix +++ b/modules/services/wgautomesh.nix @@ -25,7 +25,7 @@ services.wgautomesh.settings = { interface = "wg0"; peers = - if opt.useIPv6 + if cfg.useIPv6 then lyn.network.IPv6.peerlist else lyn.network.IPv4.peerlist; upnp_forward_external_port = wireguardPort;