diff options
author | Naïm Favier <n@monade.li> | 2021-12-16 16:30:19 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-01-03 17:05:57 +0100 |
commit | e9ebd5e90ed786599c9a8ddbf8b89ed23a688db6 (patch) | |
tree | 7b884c7b0f6b98065ea09d496c67680e538ece4e /nixos/tests/gnome.nix | |
parent | ebaa2268539a1d7fcf81773afb0bea671a6ec340 (diff) |
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.
Diffstat (limited to 'nixos/tests/gnome.nix')
-rw-r--r-- | nixos/tests/gnome.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/gnome.nix b/nixos/tests/gnome.nix index 06f387ecad67d..4471126902a69 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; |