From cf95749f84a98d7ebc8aa2b2a49acacc64ed0f66 Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Sat, 7 Dec 2024 21:04:07 +0100 Subject: [PATCH] Add synergy ports to firewall config --- systems/x86_64-linux/drivebystation-nix/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/drivebystation-nix/configuration.nix b/systems/x86_64-linux/drivebystation-nix/configuration.nix index 27cee17..b9e4bd4 100644 --- a/systems/x86_64-linux/drivebystation-nix/configuration.nix +++ b/systems/x86_64-linux/drivebystation-nix/configuration.nix @@ -118,8 +118,12 @@ # services.openssh.enable = true; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ + 24800 #Synergy + ]; + networking.firewall.allowedUDPPorts = [ + 24800 #Synergy + ]; # Or disable the firewall altogether. # networking.firewall.enable = false;