mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-06 00:58:16 +00:00
fix: Use alternate Nvidia init in Distrobox
This commit is contained in:
parent
40f4195a0f
commit
b6288a1ed0
@ -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 --additional-flags "--runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=all"
|
||||
yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch --nvidia
|
||||
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