diff --git a/nixos/configuration.nix b/nixos/configuration.nix index fea6858..0d5dd03 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -10,6 +10,15 @@ ./hardware-configuration.nix ]; + # Firewall + networking.firewall = { + enable = true; + allowedTCPPorts = [ 30000 ]; + allowedUDPPortRanges = [ + { from = 4000; to = 4007; } + { from = 8000; to = 8010; } + ]; + }; # Keychain services.gnome.gnome-keyring.enable = true;