grimm-nixos-laptop/modules/xserver.nix
2024-03-02 23:15:51 +01:00

24 lines
550 B
Nix

{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
videoDrivers = [ "nouveau" "fbdev" "modesetting" ];
# videoDrivers = [ "nouveau" ];
displayManager = {
# lightdm.enable = true;
sddm = {
enable = true;
wayland.enable = true;
};
defaultSession = "sway";
};
desktopManager = {
plasma6.enable = true;
# xfce.enable = true;
};
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
}