nix support for desktop and relay - #3734
Draft
DanConwayDev wants to merge 5 commits into
Draft
Conversation
Signed-off-by: Daniel Toubul <daniel@toubul.eu>
Complete the initial Nix scaffold by addressing the failures found during end-to-end desktop packaging: - build the current checkout with the repository's pinned Rust toolchain - replace stale and placeholder hashes with verified platform inputs - align pnpm fetch and offline install scopes for the desktop workspace - package Sherpa and sidecars with the required Linux native libraries - repair Tauri bundle RPATHs so GTK, WebKit, audio, and C++ libraries resolve - expose explicit desktop, sidecar, and development-shell outputs - derive the release version from Cargo metadata instead of a tag-time bot Signed-off-by: DanConwayDev <DanConwayDev@protonmail.com>
- build buzz-relay and buzz-admin from the pinned workspace toolchain - expose runnable relay/admin apps alongside the desktop and sidecars - provide a hardened, configurable NixOS systemd module - track current S3 addressing, read-pool, and replica-routing controls - check module environment coercion, IPv6 binding, secrets, and firewall wiring - document NixOS deployment, migrations, storage, TLS, and closed relays - add path-scoped CI for formatting, evaluation, checks, and package builds Adapted from the relay module proposed in block#2307. Co-authored-by: thesimplekid <tsk@thesimplekid.com> Signed-off-by: DanConwayDev <DanConwayDev@protonmail.com>
Signed-off-by: DanConwayDev <DanConwayDev@protonmail.com>
Signed-off-by: DanConwayDev <DanConwayDev@protonmail.com>
DanConwayDev
force-pushed
the
feat/nix-desktop-relay-support
branch
from
July 30, 2026 15:30
9e693dc to
bc5d973
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was largely one-shotted from #3434, which required a few fixes, together with an updated adaptation of #2307. I’m posting it as a draft for anyone who might be interested.
I have used it to deploy Buzz to a NixOS server and run buzz-desktop locally against that relay, including running Codex through codex-acp. This provides some basic x86_64 Linux coverage, but it has not been robustly tested; other platforms and some desktop integrations remain untested.
Summary
Provide unified Nix support for the Buzz desktop app, relay server,
administration CLI, agent sidecars, development shell, and NixOS deployments.
This combines Daniel Toubul’s desktop work in #3434 with an updated adaptation
of thesimplekid’s relay module from #2307.
Problems addressed
buzz-relayandbuzz-adminfrom the root workspace.buzz-relayandbuzz-adminflake apps.Nix store.
controls.
migrations, closed relays, health probes, and metrics.
Flake outputs
packages.<system>.buzz-desktoppackages.<system>.buzz-sidecarspackages.<linux-system>.buzz-relayapps.<linux-system>.buzz-relayapps.<linux-system>.buzz-adminnixosModules.buzz-relaydevShells.<system>.defaultValidation
The branch has been rebased onto current
main, including Buzz Desktopv0.5.2.nix fmt -- --check ...nix flake show --all-systemsnix flake check --print-build-logsbuzz-desktop,buzz-sidecars,buzz-relay, andbuzz-admin0026buzz-adminCLIactionlintThe full build and runtime tests were performed on x86_64 Linux. ARM64 Linux
and Apple Silicon macOS outputs were evaluated successfully but were not
physically built on this host.
Draft status
This is being opened as a draft to collect feedback from people interested in
using or maintaining Nix support.
In particular, physical build and runtime testing on ARM64 Linux and Apple
Silicon macOS would be useful before marking it ready for review.
Credits