53 lines
986 B
Nix
53 lines
986 B
Nix
#
|
|
# KDE Plasma 5 Configuration
|
|
# Enable with "kde.enable = true;"
|
|
# Get the plasma configs in a file with $ nix run github:pjones/plasma-manager > <file>
|
|
#
|
|
{
|
|
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
|
|
];
|
|
};
|
|
};
|
|
}
|