Skip to content

caddy

Configure and deploy Caddy

Builds Caddy from a configurable nix package attribute and creates an s6 service with a Caddyfile template.

Variables

Variable Type Default Description
caddy_enabled boolean false Enable the Caddy service
caddy_env dict {} Environment variables for the Caddy service
caddy_group string caddy System group for the Caddy service
caddy_package string
attrnixpkgs#caddy
Nix package attribute for Caddy
caddy_package_path path /opt/caddy Nix build output path for Caddy
caddy_user string caddy System user for the Caddy service