Expose Lyra NVIDIA metrics to Beszel #191
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:electra
host:fleet
host:lyra
host:nova
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#191
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Context
Lyra Beszel reports host and container metrics but no RTX 4070 data. The agent startup log says
nvidia-smi found no valid GPU data, stoppingeven though Jellyfin CUDA/NVENC playback is working.Root cause
The upstream NixOS Beszel unit puts
nvidia-smion PATH but evaluates withPrivateDevices=true,PrivateUsers=true, and no NVIDIA device allow-list. The service cannot access the GPU device nodes.Acceptance criteria
nix flake check.just test, confirm Beszel redetects the RTX 4070 and reports GPU metrics.Implemented the configuration fix on
fix/issue-191-beszel-nvidia-metrics.DevicePolicy=closedremains in force./dev/nvidiactland/dev/nvidia0, as required by the Beszelnvidia-smicollector.videoandrenderare appended without losing Lyra's existingdockersupplementary group.PrivateDevices=trueandPrivateUsers=truehardening.Evaluated Lyra policy: closed device policy, the two NVIDIA nodes, and groups
docker,video,render. Evaluated Vega policy remains unchanged. Fullnix flake checkpasses.Remaining canary: user-run
just test, followed by confirming the restarted agent no longer logsnvidia-smi found no valid GPU dataand that the RTX 4070 appears in Beszel.Data is visible, closing.