From 680cdb75ebb822dd97930af48b9906b7a999d3b0 Mon Sep 17 00:00:00 2001 From: alexion Date: Mon, 17 Aug 2026 11:33:49 -0400 Subject: [PATCH] feat(copyparty): expose files route --- AGENTS.md | 5 ++--- hosts/pikachu/default.nix | 5 +++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c964505..635ae94 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -99,6 +99,5 @@ The domain model (Host, Module, Skeleton, Auto-loader, Enable convention, overla - The current Steam desktop client is an XWayland application. Its CEF windows do not support Ozone and Steam composites them into an SDL surface with X11 extensions, so SDL Wayland selectors do not make the visible client native Wayland. Keep fractional scaling sharp with Hyprland's `xwayland.force_zero_scaling` and Steam's own `STEAM_FORCE_DESKTOPUI_SCALING` instead. -- AdGuard's LAN wildcard rewrite for `*.alexion.dev` points names at the new reverse-proxy guest. - That affects non-HTTP ports too: `git.alexion.dev:2022` resolves to the reverse-proxy guest on LAN, so Git SSH times out unless the reverse-proxy guest also handles the Gitea SSH TCP stream or AdGuard has a more specific exception. - A temporary command workaround is `GIT_SSH_COMMAND='ssh -o HostName=10.23.20.45 -o HostKeyAlias=[git.alexion.dev]:2022' git fetch origin main`. +- AdGuard's LAN wildcard rewrite for `*.alexion.dev` points names at the reverse-proxy guest, including non-HTTP ports. + Keep `git.alexion.dev:2022` working by proxying that TCP stream through the reverse-proxy guest to Gitea. diff --git a/hosts/pikachu/default.nix b/hosts/pikachu/default.nix index 3d22b44..60ad6d4 100644 --- a/hosts/pikachu/default.nix +++ b/hosts/pikachu/default.nix @@ -97,6 +97,11 @@ vlan = 20; mac = "02:23:20:39:23:01"; statePath = "/pikachu/data/copyparty"; + reverseProxy = { + enable = true; + host = "files.alexion.dev"; + backend = "http://10.23.20.126:3923"; + }; volumes = { "/inbox" = { hostPath = "/pikachu/__inbox";