diff --git a/hosts/dalinar/default.nix b/hosts/dalinar/default.nix index 24325ee..c25266f 100644 --- a/hosts/dalinar/default.nix +++ b/hosts/dalinar/default.nix @@ -233,6 +233,7 @@ acme_dns ionos {$IONOS_API_KEY} ''; logFormat = lib.mkForce "level INFO"; + # Use my custom build to integrate the ionos DNS challenge plugin package = pkgs.callPackage ../../packages/caddy {}; virtualHosts = { "https://grafana.dalinar.home.johannes-rothe.de" = { diff --git a/packages/caddy/default.nix b/packages/caddy/default.nix index 63f0ee2..6f6cfc2 100644 --- a/packages/caddy/default.nix +++ b/packages/caddy/default.nix @@ -1,8 +1,8 @@ -{ lib, buildGoModule, ... }: +{ lib, pkgs, buildGoModule, ... }: buildGoModule { pname = "caddy"; - version = "2.9.1"; + version = pkgs.caddy.version; src = ./.; vendorHash = "sha256-N32VAGucoFQzzMpvur2GScdB6IdTlno3hptMxDxtbX0=";