52 lines
897 B
Nix
52 lines
897 B
Nix
#
|
|
# KDE Plasma 5 Configuration
|
|
# Enable with "kde.enable = true;"
|
|
#
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
vars,
|
|
...
|
|
}:
|
|
with lib; {
|
|
options = {
|
|
kde = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
config = mkIf (config.kde.enable) {
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
|
|
layout = "de";
|
|
libinput.enable = true;
|
|
modules = [pkgs.xf86_input_wacom];
|
|
wacom.enable = true;
|
|
|
|
#displayManager.defaultSession = "plasmawayland";
|
|
|
|
desktopManager.plasma5 = {
|
|
enable = true; # Desktop Environment
|
|
};
|
|
};
|
|
};
|
|
|
|
environment = {
|
|
systemPackages = with pkgs.libsForQt5; [
|
|
# System-Wide Packages
|
|
];
|
|
plasma5.excludePackages = with pkgs.libsForQt5; [
|
|
elisa
|
|
khelpcenter
|
|
konsole
|
|
oxygen
|
|
];
|
|
};
|
|
};
|
|
}
|