From e9ebd5e90ed786599c9a8ddbf8b89ed23a688db6 Mon Sep 17 00:00:00 2001 From: Naïm Favier Date: Thu, 16 Dec 2021 16:30:19 +0100 Subject: 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. --- nixos/tests/gnome.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/gnome.nix b/nixos/tests/gnome.nix index 06f387ecad6..4471126902a 100644 --- a/nixos/tests/gnome.nix +++ b/nixos/tests/gnome.nix @@ -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; -- cgit 1.4.1