diff options
author | Rory& <root@rory.gay> | 2024-04-21 02:32:06 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 14:45:02 +0200 |
commit | 6c428f5c0febd70f04593b2ef8bf25509e8a45c2 (patch) | |
tree | 55333b3ca95de5a9fd868ca841ec3c81fed09776 /host/Rory-nginx/services/containers/matrixunittests-conduit/container.nix | |
parent | Server changes (diff) | |
download | Rory-Open-Architecture-6c428f5c0febd70f04593b2ef8bf25509e8a45c2.tar.xz |
Add vanilla conduit container
Diffstat (limited to 'host/Rory-nginx/services/containers/matrixunittests-conduit/container.nix')
-rwxr-xr-x | host/Rory-nginx/services/containers/matrixunittests-conduit/container.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/containers/matrixunittests-conduit/container.nix b/host/Rory-nginx/services/containers/matrixunittests-conduit/container.nix new file mode 100755 index 0000000..28309b5 --- /dev/null +++ b/host/Rory-nginx/services/containers/matrixunittests-conduit/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 5432 ]; + }; + }; + hostAddress = "192.168.100.14"; + localAddress = "192.168.100.15"; + hostAddress6 = "fc00::5"; + localAddress6 = "fc00::6"; +} \ No newline at end of file |