nixos/tests/gnome3: switch to lightdm (#41742)
This commit is contained in:
parent
79511c8434
commit
08197d032a
|
@ -11,8 +11,9 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||||
|
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
services.xserver.displayManager.auto.enable = true;
|
services.xserver.displayManager.lightdm.enable = true;
|
||||||
services.xserver.displayManager.auto.user = "alice";
|
services.xserver.displayManager.lightdm.autoLogin.enable = true;
|
||||||
|
services.xserver.displayManager.lightdm.autoLogin.user = "alice";
|
||||||
services.xserver.desktopManager.gnome3.enable = true;
|
services.xserver.desktopManager.gnome3.enable = true;
|
||||||
|
|
||||||
virtualisation.memorySize = 1024;
|
virtualisation.memorySize = 1024;
|
||||||
|
@ -21,7 +22,9 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||||
testScript =
|
testScript =
|
||||||
''
|
''
|
||||||
$machine->waitForX;
|
$machine->waitForX;
|
||||||
$machine->sleep(15);
|
|
||||||
|
# wait for alice to be logged in
|
||||||
|
$machine->waitForUnit("default.target","alice");
|
||||||
|
|
||||||
# Check that logging in has given the user ownership of devices.
|
# Check that logging in has given the user ownership of devices.
|
||||||
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
|
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
|
||||||
|
|
Loading…
Reference in New Issue