diff options
author | Luca Bruno <lethalman88@gmail.com> | 2015-08-27 18:11:30 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2015-08-27 18:11:40 +0200 |
commit | 119a6ef543161f5dcd7a5347d4765fc8da178e0f (patch) | |
tree | 4eedfcc5dcb5132fdb8a4d82ed3067bb91a344bc /nixos/tests/gnome3.nix | |
parent | 6eb096900f143bc85f725890f76a3ab7ceca6751 (diff) |
gnome3 test: use gdm with autologin instead of slim
Diffstat (limited to 'nixos/tests/gnome3.nix')
-rw-r--r-- | nixos/tests/gnome3.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/nixos/tests/gnome3.nix b/nixos/tests/gnome3.nix index f5e0159f1c7d0..3425ca09951c8 100644 --- a/nixos/tests/gnome3.nix +++ b/nixos/tests/gnome3.nix @@ -11,8 +11,13 @@ import ./make-test.nix ({ pkgs, ...} : { services.xserver.enable = true; - services.xserver.displayManager.auto.enable = true; - services.xserver.displayManager.auto.user = "alice"; + services.xserver.displayManager.gdm = { + enable = true; + autoLogin = { + enable = true; + user = "alice"; + }; + }; services.xserver.desktopManager.gnome3.enable = true; virtualisation.memorySize = 512; @@ -21,7 +26,7 @@ import ./make-test.nix ({ pkgs, ...} : { testScript = '' $machine->waitForX; - $machine->sleep(15); + $machine->sleep(60); # Check that logging in has given the user ownership of devices. $machine->succeed("getfacl /dev/snd/timer | grep -q alice"); |