Exposed port 80 for nix-serve

This commit is contained in:
Alejandro Angulo 2023-01-22 08:14:47 -08:00
parent c516173cea
commit 46918faa66
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -182,6 +182,9 @@
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
networking.firewall = {
allowedTCPPorts = [80];
};
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you