I was using the Gnome version of kdeconnect which worked fine with this home manager module:
{ config, pkgs, lib, ... }:
with lib;
{
options.programs.kdeconnect = {
enable = mkEnableOption (lib.mdDoc ''
kdeconnect.
Note that it will open the TCP and UDP port from
1714 to 1764 as they are needed for it to function properly.
You can use the {option}`package` to use
`gnomeExtensions.gsconnect` as an alternative
implementation if you use Gnome
'');
package = mkPackageOption pkgs [ "plasma5Packages" "kdeconnect-kde" ] {
example = "gnomeExtensions.gsconnect";
};
};
}
Switching to plasma, I tried:
{ config, pkgs, lib, ... }:
with lib;
{
options.programs.kdeconnect = {
enable = mkEnableOption (lib.mdDoc ''
kdeconnect.
Note that it will open the TCP and UDP port from
1714 to 1764 as they are needed for it to function properly.
You can use the {option}`package` to use
`gnomeExtensions.gsconnect` as an alternative
implementation if you use Gnome
'');
package = mkPackageOption pkgs [ "plasma5Packages" "kdeconnect-kde" ] {
example = literalExpression "pkgs.kdePackages.kdeconnect-kde";
};
indicator = mkOption {
type = types.bool;
default = true;
description = "Whether to enable kdeconnect-indicator service.";
};
};
}
But I’m not getting the indicator/tray icon, and don’t see any running process.
Please help. Thanks in advance.
Edit:
changed plasma5Packages to plasma6Packages, logged out and in, still no tray indicator.