From ca010cd737baea88a1ea965aabc0553020862501 Mon Sep 17 00:00:00 2001 From: Sergey Gulin Date: Tue, 12 Dec 2023 11:46:00 +0300 Subject: [PATCH] fixup! fixup! fixup! [OPS-1463] Docker networks and volumes --- tests/docker.nix | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/tests/docker.nix b/tests/docker.nix index 2b68258..86c862d 100644 --- a/tests/docker.nix +++ b/tests/docker.nix @@ -6,21 +6,19 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({...} : { name = "docker"; nodes = { - docker = {...}: - { - imports = [ self.nixosModules.docker ]; - virtualisation.docker = { - enable = true; - volumes = [ "thevolume" ]; - networks.thenetwork = { - driver = "bridge"; - subnet = "172.28.0.0/16"; - ip-range = "172.28.5.0/24"; - gateway = "172.28.5.254"; - }; + docker = {...}: { + imports = [ self.nixosModules.docker ]; + virtualisation.docker = { + enable = true; + volumes = [ "thevolume" ]; + networks.thenetwork = { + driver = "bridge"; + subnet = "172.28.0.0/16"; + ip-range = "172.28.5.0/24"; + gateway = "172.28.5.254"; }; - }; + }; }; testScript = ''