feat: add allowed tcp ports to devenv
This commit is contained in:
parent
0f48227606
commit
4ddb0a5bb8
1 changed files with 1 additions and 2 deletions
|
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue