nixos/middleman: Serve Paseo web app ourselves

Serve the web app from the Paseo package on `paseo.nul.ie` and point
the daemon's pairing links there, so browsers no longer load Paseo's
hosted app. It connects through our relay, so the daemon stays on
loopback.

Move the patched Paseo package into the shared overlay so `middleman`
and `slop-cannon` use the same build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 00:39:48 +00:00
co-authored by Claude Opus 5.5
parent a62b8351fa
commit b0a7f3cd89
5 changed files with 46 additions and 14 deletions
+7
View File
@@ -84,6 +84,13 @@ in
inputs.copyparty.overlays.default
inputs.hass-west-wood.overlays.default
# inputs.pi-agent.overlays.default
(final: prev: {
# TODO: Drop the override once getpaseo/paseo#7673 is fixed. The build runs npm with
# `--ignore-scripts`, so the web UI's `postinstall` patch is never applied.
paseo = inputs.paseo.packages.${prev.stdenv.hostPlatform.system}.default.overrideAttrs (old: {
preBuild = (old.preBuild or "") + "\nnpm run postinstall\n";
});
})
];
config = {
allowUnfree = true;