From 7e42e4431b0692c4968c4114d977aa311969a774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Thu, 15 May 2025 10:19:33 +0200 Subject: [PATCH] virtualisation/docker: fix nvidia container wrapper --- nixos/modules/virtualisation/docker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix index 12a950aa3cf3..e67ec76c4dea 100644 --- a/nixos/modules/virtualisation/docker.nix +++ b/nixos/modules/virtualisation/docker.nix @@ -355,7 +355,7 @@ in # the `--runtime=nvidia` approach to expose # GPU's. Starting with Docker > 25, CDI can be used # instead, removing the need for runtime wrappers. - path = lib.getExe' pkgs.nvidia-docker "nvidia-container-runtime.legacy"; + path = lib.getExe' (lib.getOutput "tools" config.hardware.nvidia-container-toolkit.package) "nvidia-container-runtime"; }; }; };