From 8116a2953def2425fd8cf8f8dc247b28ae1e32a7 Mon Sep 17 00:00:00 2001 From: Lucy Hochkamp Date: Tue, 2 Apr 2024 15:35:35 +0200 Subject: [PATCH] a --- nixos-modules/services/tailscale-openvpn.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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;