nix-community / kde2nix

Provisional, experimental Plasma 6 (and friends) pre-release packaging [maintainer=@K900]
MIT License
67 stars 6 forks source link

Using kde2nix packages in NixOS config #33

Closed kcalvelli closed 5 months ago

kcalvelli commented 5 months ago

I apologize for the beginner question: how can I use kde2nix packages in my NixOS config with flakes?

K900 commented 5 months ago

As the readme says,

Add this repo to your flake inputs and include the NixOS module in your config, then services.xserver.desktopManager.plasma6.enable = true.

Is there a specific part of this you're having trouble with?

kcalvelli commented 5 months ago

I should have been more specific. I have added the repo in flake inputs, included the NixOS module in my config, and am happily running plasma6. The trouble is with the other packages that are not installed by default, such as Kate, Kmail, Merkuro, etc.

When I add them with environment.systemPackages, how can I add them from the kde2nix packages vs standard nixos packages? I have tried importing inputs.kde2nix.packages, but have not been successful.

K900 commented 5 months ago

Use pkgs.kdePackages.kate etc.

kcalvelli commented 5 months ago

That did it - thank you!!