cfg/mod/desktop/window-manager.nix
2025-12-23 23:16:26 +01:00

19 lines
330 B
Nix

{
config,
lib,
...
}:
let
cfg = config.hd.desktop.windowManager;
inherit (lib) mkIf;
in
{
config = mkIf cfg.enable {
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.desktopManager.plasma6.enable = true;
};
}