summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-01-21 23:41:23 +0800
committerBobby Rong <rjl931189261@126.com>2023-01-22 20:45:30 +0800
commit30d5a2216fc0091a62841154a96d6d91d5d2aac2 (patch)
tree607ef084dc803b43d051e197882807f515a13b36 /nixos
parent009cdb01c71c5ffefcf9d831f1dec7e0cb0a6627 (diff)
nixosTests.pantheon: nodes.machine.config -> nodes.machine
Silence a warning:
warning: Module argument `nodes.machine.config` is deprecated. Use `nodes.machine` instead.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/pantheon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix
index d24d9a92c0a66..0773fc0472aa3 100644
--- a/nixos/tests/pantheon.nix
+++ b/nixos/tests/pantheon.nix
@@ -20,8 +20,8 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
   enableOCR = true;
 
   testScript = { nodes, ... }: let
-    user = nodes.machine.config.users.users.alice;
-    bob = nodes.machine.config.users.users.bob;
+    user = nodes.machine.users.users.alice;
+    bob = nodes.machine.users.users.bob;
   in ''
     machine.wait_for_unit("display-manager.service")