7 lines
230 B
Nix
7 lines
230 B
Nix
{config, ...}: {
|
|
flake.modules.nixos.server = {...}: {
|
|
services.caddy.enable = config.flake.meta.web.domain.has;
|
|
networking.firewall.allowedTCPPorts = [80 443];
|
|
networking.firewall.allowedUDPPorts = [80 443];
|
|
};
|
|
}
|