Finish nix-cache
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m3s

This commit is contained in:
2025-01-24 15:48:03 +01:00
parent e70e892ab2
commit 006d0b9213
9 changed files with 85 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
{ pkgs, ... }:
{
services.caddy = {
enable = true;
configFile = pkgs.writeText "Caddyfile" ''
{
acme_ca https://ca.home.2rjus.net/acme/acme/directory
}
nix-cache.home.2rjus.net {
log {
output file /var/log/caddy/nzbget.log
}
reverse_proxy http://localhost:5000
}
'';
};
}