dotfiles/modules/server/caddy.nix
2026-03-18 22:55:04 +02:00

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];
};
}