Skip to content

Commit

Permalink
KDE connect added
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Mar 14, 2024
1 parent 8b3602d commit 16c55b3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
10 changes: 10 additions & 0 deletions apps/kde-connect.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ pkgs, ... }:

{
# Wrapped KDE Connect service, this uses GSConnect instead
# No firewall configuration needed, handled by this option
programs.kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
}
5 changes: 4 additions & 1 deletion configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@
./system/printing.nix
# include power plan settings
./system/power.nix
# include openrgb settings

# include APPS settings
./apps/openrgb.nix
./apps/kde-connect.nix

# include adb settings
./dev-environment/adb.nix
];
Expand Down
11 changes: 0 additions & 11 deletions system/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,4 @@
# Or disable the firewall altogether.
# networking.firewall.enable = false;

# For KDE connect - MR - 22-02
networking.firewall = {
enable = true;
allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect
];
};

}

0 comments on commit 16c55b3

Please sign in to comment.