Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ ... }:
{ name = "libinput";
nodes.machine = { ... }: { imports = [ ./common/x11.nix ./common/user-account.nix ];
test-support.displayManager.auto.user = "alice";
services.libinput = { enable = true; mouse = { naturalScrolling = true; leftHanded = true; middleEmulation = false; horizontalScrolling = false; }; }; };
testScript = '' def expect_xserver_option(option, value): machine.succeed(f"""cat /var/log/X.0.log | grep -F 'Option "{option}" "{value}"'""")
machine.start() machine.wait_for_x() machine.succeed("""cat /var/log/X.0.log | grep -F "Using input driver 'libinput'" """) expect_xserver_option("NaturalScrolling", "on") expect_xserver_option("LeftHanded", "on") expect_xserver_option("MiddleEmulation", "off") expect_xserver_option("HorizontalScrolling", "off") '';}