feat: Update firewall settings in SGX-NixOS

This commit allows TCP traffic on port 8080 and permits ICMP echo requests for ping command in SGX-NixOS. Moreover, the necessary code adjustments have been made in the default.nix file.
This commit is contained in:
Harald Hoyer 2024-06-28 12:17:40 +02:00
parent f20e87cd50
commit 481e8ca6cf

View file

@ -52,6 +52,8 @@ with lib.metacfg;
security.tpm2.abrmd.enable = false;
networking.wireless.enable = false; # Enables wireless support via wpa_supplicant.
networking.firewall.allowedTCPPorts = [ 8080 ];
networking.firewall.allowPing = true;
powerManagement.cpuFreqGovernor = "ondemand";