mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
13 lines
178 B
Nix
13 lines
178 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
cfg = config.services.nginx;
|
|
in {
|
|
networking.firewall.allowedTCPPorts = mkIf cfg.enable [
|
|
443
|
|
80
|
|
];
|
|
}
|