From a119f187ed119255286ebc5f1d7122f3badb714e Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 28 Jun 2023 19:00:10 -0700 Subject: [PATCH] fix: Use nvidia-container-toolkit in distrobox instead of --nvidia flag since it's included upstream. --- system_files/desktop/usr/share/ublue-os/just/custom.just | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/desktop/usr/share/ublue-os/just/custom.just b/system_files/desktop/usr/share/ublue-os/just/custom.just index ca9e7c4a..c689a271 100644 --- a/system_files/desktop/usr/share/ublue-os/just/custom.just +++ b/system_files/desktop/usr/share/ublue-os/just/custom.just @@ -3,7 +3,7 @@ install-bazzite-arch: KARGS=$(rpm-ostree kargs) if grep 'nvidia' <<< ${KARGS}; then echo 'Installing Bazzite Arch (Nvidia)...' - yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch --nvidia + yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch --additional-flags "--runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=all" else echo 'Installing Bazzite Arch...' yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch