mirror of
https://github.com/nmasur/dotfiles
synced 2025-10-12 09:33:15 +00:00
try to statically set caddy to prevent cloudflare hash breaking
This commit is contained in:
15
pkgs/caddy/package.nix
Normal file
15
pkgs/caddy/package.nix
Normal 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=";
|
||||
}
|
Reference in New Issue
Block a user