lol

nixos/sing-box: migration of deprecated fields

+6 -4
+6 -4
nixos/tests/sing-box.nix
··· 44 44 type = "tun"; 45 45 tag = "inbound:tun"; 46 46 interface_name = "tun0"; 47 - inet4_address = "172.16.0.1/30"; 48 - inet6_address = "fd00::1/126"; 47 + address = [ 48 + "172.16.0.1/30" 49 + "fd00::1/126" 50 + ]; 49 51 auto_route = true; 50 - inet4_route_address = [ 52 + route_address = [ 51 53 "${hosts."${target_host}"}/32" 52 54 ]; 53 - inet4_route_exclude_address = [ 55 + route_exclude_address = [ 54 56 "${hosts."${server_host}"}/32" 55 57 ]; 56 58 strict_route = false;