feat: add allowed tcp ports to devenv

This commit is contained in:
Jacob Bachmann 2024-06-03 10:50:02 +02:00
parent 0f48227606
commit 4ddb0a5bb8
Signed by: bchmnn
GPG key ID: 732A612DAD28067D

View file

@ -1,7 +1,6 @@
{ config, lib, ... }: { { config, lib, ... }: {
security.polkit.enable = true; security.polkit.enable = true;
# rtkit is optional but recommended
security.rtkit.enable = true; security.rtkit.enable = true;
networking.firewall.enable = true; networking.firewall.enable = true;
@ -14,7 +13,7 @@
}) // (lib.mkIf (config.bchmnn.devenv.enable) { }) // (lib.mkIf (config.bchmnn.devenv.enable) {
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ 3000 ]; allowedTCPPorts = [ 3000 6969 8080 ];
}; };
}) })