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