Files
nixos-config/hosts/common/features
Miguel PalhasandClaude Opus 4.8 a273e10d29 sunshine: enable NVENC hardware encoding on NVIDIA
Default nixpkgs sunshine is built -DSUNSHINE_ENABLE_CUDA=FALSE, so every
NVENC probe died with "Couldn't scale frame" and it fell back to CPU
x264. Fix:

- package = sunshine.override { cudaSupport = true; } — gives it the
  CUDA scaling/colour-conversion path. Verified: probe now finds
  h264_nvenc / hevc_nvenc / av1_nvenc.
- LD_LIBRARY_PATH=/run/opengl-driver/lib on the service so libcuda.so.1
  (NVIDIA driver) is discoverable.
- capSysAdmin = false — Hyprland/wlroots capture via wlr-screencopy needs
  no CAP_SYS_ADMIN, and the setcap wrapper's secure-exec mode would strip
  LD_LIBRARY_PATH and break libcuda loading.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 10:56:38 +01:00
..
2026-06-27 14:17:02 +01:00
2026-06-27 14:18:03 +01:00
2026-06-27 14:18:03 +01:00
2024-10-06 17:07:58 +01:00
2026-06-27 14:18:03 +01:00
2026-06-27 14:17:02 +01:00
2026-02-17 20:35:11 +00:00
2026-06-27 14:17:02 +01:00
2026-06-27 14:18:03 +01:00
2026-03-26 18:35:35 +00:00
2026-06-27 14:17:02 +01:00
2026-06-27 18:52:20 +01:00
2026-06-27 14:17:02 +01:00