mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
9 lines
170 B
Nix
9 lines
170 B
Nix
{config, lib, ...}: let
|
|
inherit (lib.modules) mkIf;
|
|
cfg = config.services.nginx;
|
|
in {
|
|
networking.firewall.allowedTCPPorts = mkIf cfg.enable [
|
|
443
|
|
80
|
|
];
|
|
}
|