feat: init
This commit is contained in:
commit
8cfede9f57
28 changed files with 2129 additions and 0 deletions
10
overlays/caddy.nix
Normal file
10
overlays/caddy.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Custom Caddy build with rate-limit plugin.
|
||||
# Uses nixpkgs' caddy.withPlugins (available since nixpkgs 2024-12-10).
|
||||
# The hash must be updated after the first build attempt —
|
||||
# nix will error and tell you the correct hash.
|
||||
final: prev: {
|
||||
caddy-custom = prev.caddy.withPlugins {
|
||||
plugins = [ "github.com/mholt/caddy-ratelimit@v0.0.3" ];
|
||||
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue