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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user