feat(beefcake): enable meshtasticd + mmrelay — Meshtastic↔Matrix bridge live #645

Merged
lytedev merged 1 commit from beefcake-bridge-enable into main 2026-06-29 14:44:06 -05:00
Owner

Finishes the Meshtastic↔Matrix bridge by re-enabling the two imports (reverts broker-only #587) now that the real secrets are in sops.

Changes

  • beefcake.nix: uncomment meshtasticd.nix + mmrelay.nix imports.
  • meshtasticd.nix: configure the channel by name + PSK instead of a share URL (couldn't get the app's share UI). channelName = "flanmesh" (literal, non-secret — it's in the MQTT topic); provisioning oneshot now does --ch-set name/psk/uplink/downlink from sops meshtastic-channel-psk.
  • mmrelay.nix: room id set to !FIQbwRW4YEcuaPoDnq:lyte.dev (the unencrypted Meshtastic Bridge room).
  • secrets.yml: real values for mmrelay-credentials (bot @meshbridge:lyte.dev token, obtained via password login — local account, not OIDC) and meshtastic-channel-psk.

Verified

  • Same nixpkgs as deployed beefcake (667d5cf/20260623) → pure config addition, safe live switch, no reboot, no downgrade.
  • nix build .#nixosConfigurations.beefcake...toplevel → green (validates all declared secrets present).
  • nix fmt --check clean.
  • Bot login + room unencrypted confirmed.

⚠️ Before/after deploy

  • Invite @meshbridge:lyte.dev to the room (it's invite-only; bot got M_FORBIDDEN trying to self-join) so mmrelay can join on startup.
  • meshtasticd-provision runs once (marker-guarded); watch journalctl -u meshtasticd-provision on first deploy.
  • Then point the T-Echo's MQTT module at the broker (encryption ON, JSON OFF, TLS OFF, client-proxy ON, uplink+downlink on flanmesh).

Deploy over LAN (--hostname 192.168.0.9) per the headscale note.

Finishes the Meshtastic↔Matrix bridge by re-enabling the two imports (reverts broker-only #587) now that the real secrets are in sops. ## Changes - **beefcake.nix**: uncomment `meshtasticd.nix` + `mmrelay.nix` imports. - **meshtasticd.nix**: configure the channel by **name + PSK** instead of a share URL (couldn't get the app's share UI). `channelName = "flanmesh"` (literal, non-secret — it's in the MQTT topic); provisioning oneshot now does `--ch-set name/psk/uplink/downlink` from sops `meshtastic-channel-psk`. - **mmrelay.nix**: room id set to `!FIQbwRW4YEcuaPoDnq:lyte.dev` (the unencrypted Meshtastic Bridge room). - **secrets.yml**: real values for `mmrelay-credentials` (bot `@meshbridge:lyte.dev` token, obtained via password login — local account, not OIDC) and `meshtastic-channel-psk`. ## Verified - Same nixpkgs as deployed beefcake (`667d5cf`/20260623) → pure config addition, **safe live switch, no reboot, no downgrade**. - `nix build .#nixosConfigurations.beefcake...toplevel` → green (validates all declared secrets present). - `nix fmt --check` clean. - Bot login + room unencrypted confirmed. ## ⚠️ Before/after deploy - **Invite `@meshbridge:lyte.dev`** to the room (it's invite-only; bot got M_FORBIDDEN trying to self-join) so mmrelay can join on startup. - meshtasticd-provision runs once (marker-guarded); watch `journalctl -u meshtasticd-provision` on first deploy. - Then point the T-Echo's MQTT module at the broker (encryption ON, JSON OFF, TLS OFF, client-proxy ON, uplink+downlink on flanmesh). Deploy over LAN (`--hostname 192.168.0.9`) per the headscale note.
feat(beefcake): enable meshtasticd + mmrelay — Meshtastic↔Matrix bridge live
Some checks failed
/ check-format (push) Failing after 8s
/ build (push) Has been skipped
adf324d5f2
Re-enables the two imports (reverts the broker-only #587) now that real
secrets are in sops: mmrelay-credentials (bot @meshbridge:lyte.dev token)
set, and meshtasticd channel URL to be filled. Room id wired into
mmrelay.nix (!FIQbwRW4YEcuaPoDnq:lyte.dev, unencrypted).
lytedev deleted branch beefcake-bridge-enable 2026-06-29 14:44:06 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lytedev/nix!645
No description provided.