mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
02a9da65c9
Found out during testing of the Tesseract upgrade the kde5 and sddm tests don't actually use OCR, so let's disable support for it. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @ttuegel
28 lines
776 B
Nix
28 lines
776 B
Nix
import ./make-test.nix ({ pkgs, ...} : {
|
|
name = "sddm";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ ttuegel ];
|
|
};
|
|
|
|
machine = { lib, ... }: {
|
|
imports = [ ./common/user-account.nix ];
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.sddm = {
|
|
enable = true;
|
|
autoLogin = {
|
|
enable = true;
|
|
user = "alice";
|
|
};
|
|
};
|
|
services.xserver.windowManager.default = "icewm";
|
|
services.xserver.windowManager.icewm.enable = true;
|
|
services.xserver.desktopManager.default = "none";
|
|
};
|
|
|
|
testScript = { nodes, ... }: ''
|
|
startAll;
|
|
$machine->waitForFile("/home/alice/.Xauthority");
|
|
$machine->succeed("xauth merge ~alice/.Xauthority");
|
|
$machine->waitForWindow("^IceWM ");
|
|
'';
|
|
})
|