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

20 lines
353 B
Nix

{
pkgs,
config,
lib,
...
}:
let
cfg = config.hd.desktop.windowManager;
inherit (lib) mkEnableOption 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;
};
}