1 import ./make-test-python.nix ({ pkgs, ...} :
4 name = "plasma-bigscreen";
5 meta = with pkgs.lib.maintainers; {
6 maintainers = [ ttuegel k900 ];
9 nodes.machine = { ... }:
12 imports = [ ./common/user-account.nix ];
13 services.xserver.enable = true;
14 services.displayManager.sddm.enable = true;
15 services.displayManager.defaultSession = "plasma-bigscreen-x11";
16 services.xserver.desktopManager.plasma5.bigscreen.enable = true;
17 services.displayManager.autoLogin = {
22 users.users.alice.extraGroups = ["uinput"];
25 testScript = { nodes, ... }: ''
26 with subtest("Wait for login"):
28 machine.wait_for_file("/tmp/xauth_*")
29 machine.succeed("xauth merge /tmp/xauth_*")
31 with subtest("Check plasmashell started"):
32 machine.wait_until_succeeds("pgrep plasmashell")
33 machine.wait_for_window("Plasma Big Screen")