about summary refs log tree commit diff
path: root/nixos/tests/maestral.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-07-09 18:12:27 +0300
committerK900 <me@0upti.me>2023-07-09 18:49:28 +0300
commit2fc57ae6702b9f74d18a8cd94746962816984904 (patch)
tree42120833ddbbb1fca6f667e6b682436410adc2fe /nixos/tests/maestral.nix
parentb840c45d39acb59fa348945a2a8e7e442b529efd (diff)
nixos/tests: adjust everything I missed for sddm update
Also clean up a few warnings while we're at it.
Diffstat (limited to 'nixos/tests/maestral.nix')
-rw-r--r--nixos/tests/maestral.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/maestral.nix b/nixos/tests/maestral.nix
index ba2e0b2f3baab..67a265926187d 100644
--- a/nixos/tests/maestral.nix
+++ b/nixos/tests/maestral.nix
@@ -52,7 +52,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
   testScript = { nodes, ... }:
     let
-      user = nodes.cli.config.users.users.alice;
+      user = nodes.cli.users.users.alice;
     in
     ''
       start_all()
@@ -65,7 +65,8 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
       with subtest("GUI"):
         gui.wait_for_x()
-        gui.succeed("xauth merge ${user.home}/.Xauthority")
+        gui.wait_for_file("/tmp/xauth_*")
+        gui.succeed("xauth merge /tmp/xauth_*")
         gui.wait_for_window("^Desktop ")
         gui.wait_for_unit("maestral.service", "${user.name}")
     '';