tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/sing-box: migration of deprecated fields
hellodword
2 years ago
edd07654
f84cb596
+6
-4
1 changed file
expand all
collapse all
unified
split
nixos
tests
sing-box.nix
+6
-4
nixos/tests/sing-box.nix
reviewed
···
44
44
type = "tun";
45
45
tag = "inbound:tun";
46
46
interface_name = "tun0";
47
47
-
inet4_address = "172.16.0.1/30";
48
48
-
inet6_address = "fd00::1/126";
47
47
+
address = [
48
48
+
"172.16.0.1/30"
49
49
+
"fd00::1/126"
50
50
+
];
49
51
auto_route = true;
50
50
-
inet4_route_address = [
52
52
+
route_address = [
51
53
"${hosts."${target_host}"}/32"
52
54
];
53
53
-
inet4_route_exclude_address = [
55
55
+
route_exclude_address = [
54
56
"${hosts."${server_host}"}/32"
55
57
];
56
58
strict_route = false;