diff options
author | Rory& <root@rory.gay> | 2024-07-04 14:59:36 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 14:59:36 +0200 |
commit | dd7b872694441a96b8b042ccbc4b63a96d0b89b9 (patch) | |
tree | 76a25875e08415c38cdb7b5ad8f93241b387d078 /host/Rory-nginx/services/containers/matrixunittests/container.nix | |
parent | Update flake inputs (diff) | |
download | Rory-Open-Architecture-dd7b872694441a96b8b042ccbc4b63a96d0b89b9.tar.xz |
Nixfmt
Diffstat (limited to 'host/Rory-nginx/services/containers/matrixunittests/container.nix')
-rwxr-xr-x | host/Rory-nginx/services/containers/matrixunittests/container.nix | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/host/Rory-nginx/services/containers/matrixunittests/container.nix b/host/Rory-nginx/services/containers/matrixunittests/container.nix index 597b1cf..5273b4e 100755 --- a/host/Rory-nginx/services/containers/matrixunittests/container.nix +++ b/host/Rory-nginx/services/containers/matrixunittests/container.nix @@ -1,26 +1,41 @@ -{ pkgs, lib, conduit, ... }: +{ + 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 + }; + 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 ]; + networking.firewall = { + enable = true; + allowedTCPPorts = [ + 80 + 5432 + ]; + }; }; - }; hostAddress = "192.168.100.12"; localAddress = "192.168.100.13"; hostAddress6 = "fc00::3"; localAddress6 = "fc00::4"; -} \ No newline at end of file +} |