diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 09334175f9accac5c570b60647f2b23c0fbe7d26..98f9c6fdadc9c494bb90a8f5d054a0c85c433fa0 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -19,11 +19,11 @@ let let # makeNetwork :: Integer -> AttrSet makeNetwork = n: { + # Just need to disable the firewall so all the traffic flows freely. + # We could do other network configuration here too, if we wanted. + # Initially I thought we might need to statically asssign IPs but we + # can just use the node names, "introducer", etc, instead. networking.firewall.enable = false; - networking.useDHCP = false; - networking.interfaces.eth0.ipv4.addresses = [ - { address = "192.168.0.${toString n}"; prefixLength = 24; } - ]; }; # addresses :: [Integer] addresses = pkgs.lib.range 0 (builtins.length (builtins.attrNames nodes));