about summary refs log tree commit diff
path: root/nixos/lib/testing-python.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-02-09 16:23:35 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2020-02-09 16:23:35 -0500
commit88f76812f23a15546ec4455a0ecb9ca735150b18 (patch)
tree958320b0678af7cc92b5ab4302c03d63fbf18f78 /nixos/lib/testing-python.nix
parentfa9af83e960aa982302bd367d8159f365eaa7471 (diff)
testing-python: readd auto displayManager
we import it for the runInMachineWithX
Diffstat (limited to 'nixos/lib/testing-python.nix')
-rw-r--r--nixos/lib/testing-python.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix
index 36394c594b2b4..6663864f1e56e 100644
--- a/nixos/lib/testing-python.nix
+++ b/nixos/lib/testing-python.nix
@@ -263,9 +263,12 @@ in rec {
         { ... }:
         {
           inherit require;
+          imports = [
+            ../tests/common/auto.nix
+          ];
           virtualisation.memorySize = 1024;
           services.xserver.enable = true;
-          services.xserver.displayManager.auto.enable = true;
+          test-support.displayManager.auto.enable = true;
           services.xserver.displayManager.defaultSession = "none+icewm";
           services.xserver.windowManager.icewm.enable = true;
         };