diff --git a/tests/minimal.nix b/tests/minimal.nix index 7327f55..88cb276 100644 --- a/tests/minimal.nix +++ b/tests/minimal.nix @@ -14,9 +14,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see -import { +import { - machine = + nodes.machine = { config, pkgs, ... }: { imports = [ @@ -26,6 +26,6 @@ import { testScript = '' - $machine->waitForUnit("multi-user.target"); + machine.wait_for_unit("multi-user.target"); ''; }