0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/nixos/tests/common/x11.nix

23 lines
459 B
Nix
Raw Permalink Normal View History

{ 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.displayManager.defaultSession = lib.mkDefault "none+icewm";
services.xserver.windowManager.icewm.enable = true;
# Help with OCR
environment.etc."icewm/theme".text = ''
Theme="gtk2/default.theme"
'';
}