nixos/modules/desktop/kde/default.nix

19 lines
339 B
Nix
Raw Normal View History

{ 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;
};
};
}