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