KDE Optional Packages

The services.desktopManager.plasma6.enable NixOS Option currently does install KDE Plasma and some other KDE Applications, but some optional packages are missing

For example, KDE Spectacle is missing the optional tesseract and its language data packages dependencies

I haven’t found any option on NixOS, Home Manager, or plasma-manager to enable optional packages to install, nor any documentation about it (while the environment.plasma6.excludePackages NixOS option exists)

For now, it seems that one needs to install each optional packages manually (i.e. using environment.systemPackages)

Do you think optional packages options like .enableOcr for KDE Spectacle, or even a general enableOptionalFeatures option would be great additions?

1 Like

I think it is good like it is especially as the messages are descriptive.
Like if you are on dolphine and want to use advanced search it says that you are missing kfind.
A quick search and an add pkgs.kdePackages.kfind to your config later it works.

I think the maintainers have done a good job to choose which packages are included as the default.

I did not say they should be added by default, but that a way to add those optional package should be streamlined

Another option would be to add this kind of information in the wiki

Documentation is fine, but it’s not enough imo