10 lines
196 B
Nix
10 lines
196 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
{
|
|
config = {
|
|
networking.firewall.allowedTCPPorts = [
|
|
(mkIf config.services.nginx.enable 80)
|
|
(mkIf config.services.nginx.enable 443)
|
|
];
|
|
};
|
|
}
|