{ config, lib, pkgs, ... }: { # Enable the X11 windowing system. services = { dbus = { enable = true; }; xserver = { enable = true; xkb = { options = "terminate:ctrl_alt_bksp,caps:escape,compose:ralt"; layout = "us"; }; videoDrivers = [ "nvidia" ]; # "modesetting" ]; displayManager.lightdm = { enable = true; greeters.slick.enable = true; }; }; desktopManager.gnome.enable = true; # Enable touchpad support (enabled default in most desktopManager). libinput = { enable = true; touchpad.disableWhileTyping = true; touchpad.tapping = false; mouse.naturalScrolling = config.services.libinput.touchpad.naturalScrolling; }; }; }