nexoniarz-config-nixos/modules/desktop.nix
Nexoniarz 095e869faa Switch desktop from Budgie to KDE Plasma; OpenRGB support and misc packages
Budgie's Wayland session had been broken; Plasma 6 replaces it with SDDM
still handling the Wayland greeter. Since the KDE apps in apps.nix were
already installed as GTK/MATE replacements, Budgie's exclude-package list
is no longer needed under native Plasma.

Also: OpenRGB service + udev rule, RTL-SDR/system tweaks, lmms, qemu,
qt5/qt6 qtwayland, nix flakes enabled.
2026-09-18 12:46:12 +02:00

37 lines
1.1 KiB
Nix

{ config, pkgs, ... }:
{
# Plasma ships a proper Wayland session (KWin) with solid Xwayland
# support; xserver stays on for that Xwayland layer and for the xkb
# layout below, not because the session itself needs it.
services.xserver.enable = true;
services.desktopManager.plasma6.enable = true;
# SDDM is KDE's own greeter — Qt-based, and launches Wayland sessions
# natively, Plasma included.
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
security.polkit.enable = true;
services.xserver.xkb = {
layout = "pl";
variant = "";
};
services.tumbler.enable = true;
services.gvfs.enable = true;
# xserver.nix installs xterm unconditionally; Konsole is the terminal here.
services.xserver.excludePackages = [ pkgs.xterm ];
# Icon/cursor theme packages. Plasma has no gsettings-style declarative
# knob for this the way Budgie did — pick them in System Settings, or
# bring in plasma-manager later for a fully declarative setup.
environment.systemPackages = [
pkgs.gruvbox-plus-icons
pkgs.bibata-cursors
];
}