mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-01 03:21:41 +00:00
feat(desktop): Create bazzite-arch images with distrobox assemble
This commit is contained in:
parent
d4a0d70482
commit
da16ff1d6a
@ -0,0 +1,8 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch
|
||||
init=false
|
||||
nvidia=false
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
@ -0,0 +1,8 @@
|
||||
[bazzite-arch]
|
||||
image=ghcr.io/ublue-os/bazzite-arch
|
||||
init=false
|
||||
nvidia=true
|
||||
pull=true
|
||||
root=false
|
||||
replace=false
|
||||
start_now=true
|
@ -3,10 +3,10 @@ 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
|
||||
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch-nvidia
|
||||
else
|
||||
echo 'Installing Bazzite Arch...'
|
||||
yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch
|
||||
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch
|
||||
fi
|
||||
|
||||
install-corectrl:
|
||||
|
Loading…
Reference in New Issue
Block a user