correct podman device

This commit is contained in:
Joseph Hanson 2024-11-21 17:51:59 -06:00
parent 46c4752395
commit afc6e7c94c
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ in
ports = [ "${toString port}:${toString port}" ]; # expose port ports = [ "${toString port}:${toString port}" ]; # expose port
extraOptions = [ extraOptions = [
# "--runtime=nvidia" "--device nvidia.com/gpu=all"
]; ];
}; };

View file

@ -40,7 +40,7 @@ in
]; ];
extraOptions = [ extraOptions = [
"--runtime=nvidia" "--device nvidia.com/gpu=all"
]; ];
environment = { environment = {

View file

@ -43,7 +43,7 @@ in
# all usb devices, such as coral tpu # all usb devices, such as coral tpu
"--device=/dev/bus/usb" "--device=/dev/bus/usb"
"--network=host" "--network=host"
"--runtime=nvidia" "--device nvidia.com/gpu=all"
]; ];
environment = { environment = {