{ pkgs, ... }:
{
services = {
desktopManager.plasma6.enable = true;
xserver = {
enable = true;
dpi = 96;
# Enable the KDE Plasma Desktop Environment.
displayManager = {
sddm = {
enableHidpi = true;
autoNumlock = true;
};
defaultSession = "plasma";
# Enable touchpad support.
libinput.enable = true;
fwupd = {
package = pkgs.fwupd;
security.pam.services.sddm.enableKwallet = true;
programs = {
xwayland.enable = true;
kdeconnect.enable = true;
firefox = {
preferencesStatus = "user";
qt.platformTheme = "kde";
system.activationScripts.remove_gtk_conf.text = ''
if [ -f "/home/payas/.gtkrc-2.0" ]; then
rm /home/payas/.gtkrc-2.0;
fi
if [ -d "/home/payas/.config/gtk-4.0" ]; then
rm -rf /home/payas/.config/gtk-4.0
'';
environment = {
plasma6.excludePackages = with pkgs; [
kdePackages.elisa
];
systemPackages = with pkgs; [
# Wayland
wl-clipboard
}