Add this repository as a channel:
$ nix-channel --add https://github.com/nix-community/plasma-manager/archive/trunk.tar.gz plasma-manager
Update / unpack the channel:
$ nix-channel --update plasma-manager
Add to your configuration file, for example ~/.config/home-manager/plasma.nix
:
{ pkgs, ...}:
{
imports = [
<plasma-manager/modules>
];
programs = {
plasma = {
enable = true;
# etc.
};
};
}