diff --git a/nixos-modules/services/tailscale-openvpn.nix b/nixos-modules/services/tailscale-openvpn.nix index 4509c743..3d6c2a69 100644 --- a/nixos-modules/services/tailscale-openvpn.nix +++ b/nixos-modules/services/tailscale-openvpn.nix @@ -27,15 +27,7 @@ with lib; cfg.config); networking.interfaces = { ${bridgeExt}.ipv4.addresses = [{ address = "192.168.129.1"; prefixLength = 24; }]; - } // (optionalAttrs cfg.bridges - (mapAttrs - (server: _: { - name = bridge server; - value = { ipv4.addresses = [ ]; }; - }) - cfg.config - ) - ); + }; networking.nat = { enable = true;