Skip to content

Commit

Permalink
refactor: disable lan-mouse; enable kdeconnect ports
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsgirao committed Oct 28, 2024
1 parent 3bf0a7c commit 208b9e4
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions modules/workstation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ in
};
};

# programs.kdeconnect = {
# enable = true;
# package = pkgs.gnomeExtensions.gsconnect;
# };

# Custom error sound on e.g firefox when Ctrl-f search fails
hm.dconf.settings."org/gnome/desktop/sound".event-sounds = true;
hm.home.file = {
Expand Down Expand Up @@ -380,19 +375,19 @@ in
enable = false;
};

hm.programs.lan-mouse.settings = {
release_bind = [
"KeyA"
"KeyS"
"KeyD"
"KeyF"
];
port = 7742;
frontend = "gtk";
systemd = true;
};
# hm.programs.lan-mouse.settings = {
# release_bind = [
# "KeyA"
# "KeyS"
# "KeyD"
# "KeyF"
# ];
# port = 7742;
# frontend = "gtk";
# systemd = true;
# };

networking.firewall = {
networking.firewall = rec {
allowedTCPPorts = [
53317 # LocalSend (installed thru flatpak)
7236 # Gnome Network Displays
Expand All @@ -401,6 +396,13 @@ in
53317 # LocalSend (installed thru flatpak)
7236 # Gnome Network Displays
];
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedUDPPortRanges = allowedTCPPortRanges;
};

environment.systemPackages = with pkgs; [
Expand Down

0 comments on commit 208b9e4

Please sign in to comment.