From 6ab3413110ec87c7ec931fb0e4e360e1207a96a6 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 15 Oct 2024 17:11:32 +0100 Subject: [PATCH] fix: only open Syncthing ports on hosts in trusted locations --- nixos/_mixins/features/network/default.nix | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/nixos/_mixins/features/network/default.nix b/nixos/_mixins/features/network/default.nix index ca54293d..7977b4ea 100644 --- a/nixos/_mixins/features/network/default.nix +++ b/nixos/_mixins/features/network/default.nix @@ -26,25 +26,14 @@ let # Per-host firewall configuration; mostly for Syncthing which is configured via Home Manager allowedTCPPorts = { phasma = [ 22000 ]; - sidious = [ 22000 ]; - tanis = [ 22000 ]; vader = [ 22000 ]; revan = [ 22000 ]; - malak = [ 22000 ]; }; allowedUDPPorts = { phasma = [ 22000 21027 ]; - sidious = [ - 22000 - 21027 - ]; - tanis = [ - 22000 - 21027 - ]; vader = [ 22000 21027 @@ -53,10 +42,6 @@ let 22000 21027 ]; - malak = [ - 22000 - 21027 - ]; }; # Define DNS settings for specific users