1 { config, pkgs, lib, ... }:
3 options.programs.kdeconnect = {
4 enable = lib.mkEnableOption ''
7 Note that it will open the TCP and UDP port from
8 1714 to 1764 as they are needed for it to function properly.
9 You can use the {option}`package` to use
10 `gnomeExtensions.gsconnect` as an alternative
11 implementation if you use Gnome
13 package = lib.mkPackageOption pkgs [ "plasma5Packages" "kdeconnect-kde" ] {
14 example = "gnomeExtensions.gsconnect";
19 cfg = config.programs.kdeconnect;
22 environment.systemPackages = [
25 networking.firewall = rec {
26 allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
27 allowedUDPPortRanges = allowedTCPPortRanges;