mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 18:32:48 +00:00
feat: Configure Bazzite Arch for Nvidia GPUs
Check kargs as the Nvidia driver may not be loaded on laptops that have opted to use integrated graphics
This commit is contained in:
parent
ab93985fb6
commit
668ec565f0
@ -142,7 +142,7 @@ screens:
|
||||
condition:
|
||||
run: distrobox list | grep -v bazzite-arch
|
||||
packages:
|
||||
- Install Bazzite Arch: yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch
|
||||
- Install Bazzite Arch: just install-bazzite-arch
|
||||
- Export Steam: distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam'
|
||||
- Export Lutris: distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris'
|
||||
- Export Protontricks: distrobox-enter -n bazzite-arch -- ' distrobox-export --app protontricks'
|
||||
|
@ -1,3 +1,14 @@
|
||||
install-bazzite-arch:
|
||||
#!/usr/bash/env bash
|
||||
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
|
||||
else
|
||||
echo 'Installing Bazzite Arch...'
|
||||
yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch
|
||||
fi
|
||||
|
||||
get-greenlight:
|
||||
echo 'Retrieving Greenlight'
|
||||
wget https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta8/Greenlight-2.0.0-beta8.AppImage -O ~/Desktop/Greenlight.AppImage
|
||||
|
Loading…
x
Reference in New Issue
Block a user