blumeops/nixos/ringtail
Erich Blume 9192a31204 Use nvidia-container-runtime.cdi for GPU workload injection
Replace the CDI device-list-strategy approach (which fails because the
device plugin generates its own CDI specs and can't find libs on NixOS)
with the nvidia-container-runtime.cdi runtime handler approach:

- Add wrapper script at /etc/nvidia-container-runtime/ that provides
  runc in PATH for nvidia-container-runtime.cdi
- Register nvidia runtime handler in k3s containerd config
- Create RuntimeClass for GPU workloads
- Revert device plugin to default envvar strategy (already working)
- Add runtimeClassName: nvidia to Frigate deployment

The nvidia-container-runtime.cdi binary reads the NixOS-generated CDI
specs from /var/run/cdi/ and injects GPU devices and driver libraries
into containers at create time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:20:01 -08:00
..
configuration.nix Use nvidia-container-runtime.cdi for GPU workload injection 2026-02-19 13:20:01 -08:00
disk-config.nix Add NixOS configuration for ringtail workstation (#207) 2026-02-18 08:24:25 -08:00
flake.lock Polish ringtail NixOS config and add documentation (#208) 2026-02-18 17:53:47 -08:00
flake.nix Polish ringtail NixOS config and add documentation (#208) 2026-02-18 17:53:47 -08:00
hardware-configuration.nix Add NixOS configuration for ringtail workstation (#207) 2026-02-18 08:24:25 -08:00
k3s-registries.yaml Add k3s, 1Password Connect, and systemd nix-container-builder to ringtail (#209) 2026-02-18 21:15:30 -08:00