nixos/sing-box: migration of deprecated fields

This commit is contained in:
hellodword 2024-10-16 13:28:06 +00:00
parent f84cb59662
commit edd07654e4
No known key found for this signature in database
GPG Key ID: 094D44EBA7DBAE80

View File

@ -44,13 +44,15 @@ import ./make-test-python.nix (
type = "tun";
tag = "inbound:tun";
interface_name = "tun0";
inet4_address = "172.16.0.1/30";
inet6_address = "fd00::1/126";
address = [
"172.16.0.1/30"
"fd00::1/126"
];
auto_route = true;
inet4_route_address = [
route_address = [
"${hosts."${target_host}"}/32"
];
inet4_route_exclude_address = [
route_exclude_address = [
"${hosts."${server_host}"}/32"
];
strict_route = false;