diff --git a/modules/services/wgautomesh.nix b/modules/services/wgautomesh.nix index ab8190b..a078c2b 100644 --- a/modules/services/wgautomesh.nix +++ b/modules/services/wgautomesh.nix @@ -38,7 +38,7 @@ in { if cfg.useIPv6 then ["${meshnetwork.wg_subnets.IPv6}"] else ["${meshnetwork.wg_subnets.IPv4}"]; - listenPort = cfg.wireguardPort; + listenPort = wireguardPort; privateKeyFile = "/var/lib/wireguard-keys/private"; mtu = 1420; };