diff --git a/hosts/OVHCloud/hardware-configuration.nix b/hosts/OVHCloud/hardware-configuration.nix index 71fd56d..5cafbd9 100644 --- a/hosts/OVHCloud/hardware-configuration.nix +++ b/hosts/OVHCloud/hardware-configuration.nix @@ -30,6 +30,15 @@ services.caddy = { enable = true; package = inputs.caddy.packages.${pkgs.system}.caddy; + + globalConfig = '' + acme_dns ovh { + endpoint {$OVH_ENDPOINT} + application_key {$OVH_APPLICATION_KEY} + application_secret {$OVH_APPLICATION_SECRET} + consumer_key {$OVH_CONSUMER_KEY} + } + ''; }; systemd.services.caddy = { serviceConfig = {