perf: avoid Electra source builds for desktop apps #88
No reviewers
Labels
No labels
host:electra
host:fleet
host:lyra
host:vega
host:vega
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:declarative-purity-cleanup
project:external-review
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
service:auto-update
service:mem0
service:sillytavern
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config!88
Loading…
Reference in a new issue
No description provided.
Delete branch "electra-binary-alternatives"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Validation
Automated code review
Reviewed commit:
f3ed15b0771ddcf2227508a0d5ce48ef202f22f5Verdict: Requires further work
Resolve the blocking or important findings and investigate failed deterministic checks before merging.
Overall assessment
Updates replace source-built or default packages with prebuilt binaries (Firefox, Electron 41) and migrate Ollama from ROCm to Vulkan on Electra. Changes are localized to three files and include explicit comments justifying the switches.
Blocking findings
None.
Important findings
Diff changes
ollamaBackend = "rocm"to"vulkan", removesrocmOverrideGfx = "11.0.0", and deletes theHSA_OVERRIDE_GFX_VERSIONenvironment variable.Impact: Alters the compute backend for local AI inference on Electra's AMD 780M iGPU. Vulkan may exhibit different performance, VRAM handling, or model compatibility compared to ROCm.
Suggested fix: Validate local AI workloads (model loading, inference speed, stability) post-deployment to confirm no regression.
Suggestions
Firefox binary package adoption (modules/desktop/environment.nix:14; high confidence)
Diff sets
package = pkgs.firefox-binand adds a comment noting native-messaging is not configured on these hosts.Impact: Switches to Mozilla's prebuilt binary to avoid local compilation. May restrict future native-messaging extensions if they rely on build-time paths or specific package attributes.
Suggested fix: Document the native-messaging limitation and verify extension compatibility if new requirements arise.
Bruno Electron version override (home/nimmo.nix:352; medium confidence)
Diff overrides Bruno's default Electron with
pkgs.electron_41-bin.Impact: Pins Bruno to a specific Electron major version. If Bruno upstream requires newer Electron APIs, this override may cause runtime crashes or feature regressions.
Suggested fix: Test Bruno functionality post-deployment and monitor for upstream Electron compatibility notes.
Tests and validation
error: Resource temporarily unavailableQuestions
pkgs.firefox-bin?Review limitations
Diff coverage
home/nimmo.nix: reviewed — included in a context-limited batchhosts/electra/default.nix: reviewed — included in a context-limited batchmodules/desktop/environment.nix: reviewed — included in a context-limited batchReview metadata