diff --git a/hosts/dingserver/caddy.nix b/hosts/dingserver/caddy.nix index e54cad3..5757e20 100644 --- a/hosts/dingserver/caddy.nix +++ b/hosts/dingserver/caddy.nix @@ -74,6 +74,15 @@ reverse_proxy localhost:8096 ''; }; + + "dingserver.squirrel-clownfish.ts.net" = { + extraConfig = '' + tls { + get_certificate tailscale + } + reverse_proxy localhost:9091 + ''; + }; }; }; } diff --git a/hosts/dingserver/configuration.nix b/hosts/dingserver/configuration.nix index 61ffddd..67075e1 100644 --- a/hosts/dingserver/configuration.nix +++ b/hosts/dingserver/configuration.nix @@ -37,6 +37,16 @@ services.jellyfin.enable = true; + services.transmission = { + enable = true; + settings = { + rpc-host-whitelist-enable = true; + rpc-host-whitelist = "dingserver.squirrel-clownfish.ts.net"; + }; + }; + + services.tailscale.permitCertUid = "caddy"; + environment.systemPackages = with pkgs; [ helix kitty # For terminfo