mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
11 lines
247 B
Nix
11 lines
247 B
Nix
{ config, ... }:
|
|
{
|
|
services.caddy = {
|
|
enable = true;
|
|
email = "ca@${config.networking.domain}";
|
|
logFormat = "format console";
|
|
};
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
networking.firewall.allowedUDPPorts = [ 443 ];
|
|
}
|