{ pkgs, lib, ... }: let inherit (lib) getExe ; in { imports = [ ../../common/xserver.nix ]; services.xserver.videoDrivers = ["modesetting" "nouveau"]; services.libinput = { touchpad.clickMethod = "clickfinger"; touchpad.disableWhileTyping = true; }; hardware.nvidia.prime = { intelBusId = "PCI:0:2:0"; nvidiaBusId = "PCI:1:0:0"; }; }