diff --git a/1-nixos-node/configuration.nix b/1-nixos-node/configuration.nix index c7d2963..947f5f9 100644 --- a/1-nixos-node/configuration.nix +++ b/1-nixos-node/configuration.nix @@ -46,6 +46,7 @@ }; client = { enabled = true; + preferred_address_family = "ipv4"; %{if cpu_total_compute != null ~} cpu_total_compute = ${cpu_total_compute}; %{endif ~} @@ -71,6 +72,7 @@ webUi = true; interface.bind = "${bind_interface}"; interface.advertise = "${bind_interface}"; + forceAddrFamily = "ipv4"; extraConfig = { client_addr = "{{ GetPrivateInterfaces | exclude \"type\" \"ipv6\" | join \"address\" \" \" }} {{ GetAllInterfaces | include \"flags\" \"loopback\" | join \"address\" \" \" }}"; %{if bootstrap ~}