Add support for kde plasma desktop

This commit is contained in:
Sravan Balaji
2024-03-27 20:39:35 -04:00
parent a59fa6ec1e
commit 11f3c0ca90
2 changed files with 16 additions and 1 deletions

15
system/gui/kde.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, lib, pkgs, userSettings, ... }:
{
imports = [
./default.nix
(if userSettings.desktopType == "x11" then ./x11.nix else "")
];
services.xserver.displayManager = {
sddm.enable = true;
sddm.wayland.enable = (if userSettings.desktopType == "x11" then false else true);
defaultSession = (if userSettings.desktopType == "x11" then "plasmax11" else "plasma");
};
services.desktopManager.plasma6.enable = true;
}