mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-18 18:19:14 +00:00
17 lines
385 B
Nix
17 lines
385 B
Nix
# Caddy with Cloudflare DNS
|
|
|
|
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
(pkgs.caddy.withPlugins {
|
|
plugins = [ "github.com/caddy-dns/[email protected]" ];
|
|
hash = "sha256-HuVBmiT3kD6RrDejQ6SnjCN8f7pFdZlGtZFbEf47bks=";
|
|
}).overrideAttrs
|
|
{
|
|
postConfigure = ''
|
|
rm -f cmd/x509rootsfallback.go caddy/cmd/x509rootsfallback.go vendor/github.com/caddyserver/caddy/v2/cmd/x509rootsfallback.go
|
|
'';
|
|
}
|