mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
fix: Use nvidia-container-toolkit in distrobox instead of --nvidia flag since it's included upstream.
This commit is contained in:
parent
99037359d7
commit
a119f187ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user