2023-11-28 23:24:43 +01:00
|
|
|
{
|
|
|
|
# Enable the X11 windowing system.
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2024-03-02 23:15:51 +01:00
|
|
|
videoDrivers = [ "nouveau" "fbdev" "modesetting" ];
|
|
|
|
# videoDrivers = [ "nouveau" ];
|
2023-11-28 23:24:43 +01:00
|
|
|
displayManager = {
|
2024-03-02 23:15:51 +01:00
|
|
|
# lightdm.enable = true;
|
|
|
|
sddm = {
|
|
|
|
enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
};
|
|
|
|
defaultSession = "sway";
|
2023-11-28 23:24:43 +01:00
|
|
|
};
|
|
|
|
desktopManager = {
|
2024-01-31 17:04:50 +01:00
|
|
|
# xfce.enable = true;
|
2023-11-28 23:24:43 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-16 18:28:01 +01:00
|
|
|
services.desktopManager = {
|
|
|
|
plasma6.enable = true;
|
|
|
|
# xfce.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-11-28 23:24:43 +01:00
|
|
|
# Enable touchpad support (enabled default in most desktopManager).
|
|
|
|
# services.xserver.libinput.enable = true;
|
|
|
|
}
|