try to statically set caddy to prevent cloudflare hash breaking

This commit is contained in:
Noah Masur committed 2025-10-11 13:27:44 -04:00
1 parent 774773c748
commit 68d8e60b7e
2 files changed
+16 -4

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Caddy with Cloudflare DNS
{
pkgs,
...
}:
# Maintain a static version so that the plugin hash doesn't keep breaking
(pkgs.caddy.override {
version = "2.10.2";
}).withPlugins
{
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.1" ];
hash = "sha256-AcWko5513hO8I0lvbCLqVbM1eWegAhoM0J0qXoWL/vI=";
}