blob: df9fe38543f3fe60cbb3ae54c8719cee680b42d4 (
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
25
26
27
28
|
{
config,
lib,
pkgs,
...
}: let
cfg = config.desktop.plasma;
in {
options.desktop.plasma.enable = lib.mkEnableOption "Plasma desktop";
config = lib.mkIf cfg.enable {
environment = {
plasma5.excludePackages = with pkgs.libsForQt5; [
khelpcenter
plasma-browser-integration
print-manager
];
};
services.xserver = {
displayManager.sddm.enable = true;
desktopManager.plasma5 = {
enable = true;
useQtScaling = true;
};
};
};
}
|