Pin custom caddy to the nixpkgs version

This commit is contained in:
Johannes Rothe 2025-03-24 22:25:50 +01:00
parent 4d4589399d
commit e9d91e6f8e
2 changed files with 3 additions and 2 deletions

View File

@ -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" = {

View File

@ -1,8 +1,8 @@
{ lib, buildGoModule, ... }:
{ lib, pkgs, buildGoModule, ... }:
buildGoModule {
pname = "caddy";
version = "2.9.1";
version = pkgs.caddy.version;
src = ./.;
vendorHash = "sha256-N32VAGucoFQzzMpvur2GScdB6IdTlno3hptMxDxtbX0=";