{ config, pkgs, lib, ... }: { options.components.gui.kde.enable = lib.mkOption { type = lib.types.bool; default = config.components.gui.enable; }; config = lib.mkIf (config.components.gui.kde.enable) { services.desktopManager.plasma6.enable = true; }; }