grimm-nixos-laptop/modules/xserver.nix
2023-11-29 22:56:30 +01:00

19 lines
416 B
Nix

{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
videoDrivers = ["nvidia"];
displayManager = {
sddm.enable = true;
defaultSession = "plasmawayland";
};
desktopManager = {
plasma5.enable = true;
xfce.enable = true;
};
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
}