about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-03-15 16:37:31 +0800
committerBobby Rong <rjl931189261@126.com>2023-03-15 17:03:35 +0800
commit49ca01bf9d93907ef7255289ced1b99797eea79c (patch)
tree71617efd1475c8d40c204f476367434d5499344f /nixos/tests
parente5fdb2fce869bc2e337d2d8018ed96a9f451a195 (diff)
nixosTests.xfce: silence a deprecation warning
trace: warning: Module argument `nodes.machine.config` is deprecated. Use `nodes.machine` instead.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/xfce.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/xfce.nix b/nixos/tests/xfce.nix
index 31f00f77c40d4..3758ccbccf425 100644
--- a/nixos/tests/xfce.nix
+++ b/nixos/tests/xfce.nix
@@ -26,7 +26,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
     };
 
   testScript = { nodes, ... }: let
-    user = nodes.machine.config.users.users.alice;
+    user = nodes.machine.users.users.alice;
   in ''
       machine.wait_for_x()
       machine.wait_for_file("${user.home}/.Xauthority")