nixosTests.gnome: add autologin delay to catch GDM failures

Catches failures like https://github.com/NixOS/nixpkgs/issues/149539
that don't happen with AutomaticLoginEnable.

We still have a 0-delay autologin test in gnome-xorg, in case there's
ever an issue that only arises with AutomaticLoginEnable.
This commit is contained in:
Naïm Favier 2021-12-16 16:30:19 +01:00
parent ebaa226853
commit e9ebd5e90e
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -18,6 +18,8 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
enable = true;
user = "alice";
};
# Catch GDM failures that don't happen with AutomaticLoginEnable, e.g. https://github.com/NixOS/nixpkgs/issues/149539
gdm.autoLogin.delay = 1;
};
services.xserver.desktopManager.gnome.enable = true;