19 lines
339 B
Nix
19 lines
339 B
Nix
|
{ outputs, options, config, lib, pkgs, ...}:
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.modules.desktop.kde;
|
||
|
in
|
||
|
{
|
||
|
options.modules.desktop.kde = {
|
||
|
enable = mkEnableOption false;
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
services.xserver = {
|
||
|
enable = true;
|
||
|
libinput.enable = true;
|
||
|
desktopManager.plasma5.enable = true;
|
||
|
};
|
||
|
};
|
||
|
}
|