nix-config/modules/desktops/kde.nix

53 lines
897 B
Nix
Raw Normal View History

2023-10-14 13:22:41 +02:00
#
# 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
];
};
};
}