diff options
Diffstat (limited to 'host/Rory-nginx/services/containers/matrix_unit_tests/container.nix')
-rwxr-xr-x | host/Rory-nginx/services/containers/matrix_unit_tests/container.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/containers/matrix_unit_tests/container.nix b/host/Rory-nginx/services/containers/matrix_unit_tests/container.nix new file mode 100755 index 0000000..7c15e04 --- /dev/null +++ b/host/Rory-nginx/services/containers/matrix_unit_tests/container.nix @@ -0,0 +1,26 @@ +{ pkgs, lib, conduit, ... }: + +{ + privateNetwork = true; + autoStart = true; + specialArgs = { + inherit conduit; + }; + config = { lib, pkgs, conduit, ... }: { + imports = [ ./root.nix ]; + environment.etc."resolv.conf".text = '' + nameserver 8.8.8.8 + nameserver 8.4.4.8 + nameserver 1.1.1.1 + nameserver 1.0.0.1 + ''; + networking.firewall = { + enable = true; + allowedTCPPorts = [ 80 ]; + }; + }; + hostAddress = "192.168.100.12"; + localAddress = "192.168.100.13"; + hostAddress6 = "fc00::3"; + localAddress6 = "fc00::4"; +} \ No newline at end of file |