summaryrefslogtreecommitdiff
path: root/hosts/common/desktop/plasma.nix
blob: 952684f7805ed112a79e9718790fcbeb99168530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
	config,
	pkgs,
	...
}: let
	xserverConfig =
		if config.sys.desktop == "plasma"
		then {
			displayManager.sddm.enable = true;
			desktopManager.plasma5 = {
				enable = true;
				excludePackages = with pkgs.libsForQt5; [
					elisa
					khelpcenter
					oxygen
					plasma-browser-integration
					print-manager
				];
			};
		}
		else {};
in {
	services.xserver = xserverConfig;
}