diff options
Diffstat (limited to 'nixos/tests/common/x11.nix')
-rw-r--r-- | nixos/tests/common/x11.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nixos/tests/common/x11.nix b/nixos/tests/common/x11.nix new file mode 100644 index 00000000000..0d76a0e972f --- /dev/null +++ b/nixos/tests/common/x11.nix @@ -0,0 +1,17 @@ +{ lib, ... }: + +{ + imports = [ + ./auto.nix + ]; + + services.xserver.enable = true; + + # Automatically log in. + test-support.displayManager.auto.enable = true; + + # Use IceWM as the window manager. + # Don't use a desktop manager. + services.xserver.displayManager.defaultSession = lib.mkDefault "none+icewm"; + services.xserver.windowManager.icewm.enable = true; +} |