2023-05-02 21:13:51 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
2023-09-11 11:06:55 +02:00
|
|
|
displayManager = {
|
|
|
|
defaultSession = "plasmawayland";
|
|
|
|
sddm = {
|
|
|
|
enable = true;
|
|
|
|
# https://discourse.nixos.org/t/plasma-wayland-session-not-available-from-sddm/13447/2
|
|
|
|
settings.Wayland.SessionDir = "${pkgs.plasma5Packages.plasma-workspace}/share/wayland-sessions";
|
|
|
|
};
|
2023-05-02 21:13:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
desktopManager.plasma5 = {
|
|
|
|
enable = true;
|
|
|
|
useQtScaling = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
excludePackages = with pkgs; [
|
|
|
|
xterm
|
|
|
|
];
|
|
|
|
};
|
2023-09-15 10:04:24 +02:00
|
|
|
|
|
|
|
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
|
|
|
elisa
|
|
|
|
okular
|
|
|
|
khelpcenter
|
|
|
|
konsole
|
|
|
|
print-manager
|
|
|
|
plasma-systemmonitor
|
|
|
|
gwenview
|
|
|
|
];
|
2023-05-02 21:13:51 +02:00
|
|
|
}
|