diff --git a/nixos/tests/web-apps/dashy.nix b/nixos/tests/web-apps/dashy.nix index 39454b5b8d8a..d83c14d3294f 100644 --- a/nixos/tests/web-apps/dashy.nix +++ b/nixos/tests/web-apps/dashy.nix @@ -1,6 +1,5 @@ { pkgs, lib, ... }: let - customSettings = { pageInfo = { title = "My Custom Dashy Title"; @@ -45,29 +44,29 @@ in } ]; }; - nodes = { - machine = { }; + containers = { + container = { }; - machine-custom = { + custom = { services.dashy.settings = customSettings; }; }; testScript = '' start_all() - machine.wait_for_unit("nginx.service") - machine.wait_for_open_port(80) + container.wait_for_unit("nginx.service") + container.wait_for_open_port(80) - actual = machine.succeed("curl -v --stderr - http://dashy.local/", timeout=10) + actual = container.succeed("curl -v --stderr - http://dashy.local/", timeout=10) expected = "