nixos-config/hosts/nuc/modules/caddy/default.nix

11 lines
247 B
Nix
Raw Normal View History

2024-05-21 18:44:04 +02:00
{ config, ... }:
{
services.caddy = {
enable = true;
email = "ca@${config.networking.domain}";
logFormat = "format console";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 443 ];
}