Merge pull request #47 from ublue-os/justfile-update

fix: Use --nvidia when creating distrobox containers + Switch to new justfile system
This commit is contained in:
Kyle Gospodnetich 2023-09-24 14:59:28 -07:00 committed by GitHub
commit 8924f8614e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 7 deletions

View file

@ -1,6 +1,4 @@
!include /usr/share/ublue-os/just/bling/distrobox.just
!include /usr/share/ublue-os/just/bling/gaming.just
!include /usr/share/ublue-os/just/bling/nix.just
!include /usr/share/ublue-os/just/bling/shells.just
set allow-duplicate-recipes
!include /usr/share/ublue-os/just/bling/shells.just

View file

@ -1,3 +1,5 @@
# vim: set ft=make :
update-distrobox-git:
echo 'Installing latest git snapshot of Distrobox'
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --next --prefix ~/.local
@ -5,7 +7,7 @@ update-distrobox-git:
[private]
create-distrobox PRETTY_NAME IMAGE_TAG CONTAINER_NAME:
echo "Creating {{PRETTY_NAME}} distrobox..."
distrobox create -i quay.io/toolbx-images/{{IMAGE_TAG}} -n {{CONTAINER_NAME}} -Y
distrobox create --nvidia -i quay.io/toolbx-images/{{IMAGE_TAG}} -n {{CONTAINER_NAME}} -Y
distrobox-almalinux: (create-distrobox "Alma Linux" "almalinux-toolbox:latest" "alma")
@ -20,8 +22,8 @@ distrobox-rocky: (create-distrobox "Rocky Linux" "rockylinux-toolbox:latest" "ro
distrobox-gamebox:
echo 'Creating Arch-based Gaming distrobox...'
distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch -Y
distrobox create --nvidia -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch -Y
distrobox-bluefin:
echo 'Creating Bluefin Ubuntu distrobox...'
distrobox create -i ghcr.io/ublue-os/ubuntu-toolbox:latest -n bluefin-ubuntu -Y
distrobox create --nvidia -i ghcr.io/ublue-os/ubuntu-toolbox:latest -n bluefin-ubuntu -Y

View file

@ -1,3 +1,5 @@
# vim: set ft=make :
setup-gaming:
echo 'Setting up gaming experience ... lock and load.'
distrobox create -i ghcr.io/ublue-os/bazzite-arch gamebox

View file

@ -1,3 +1,5 @@
# vim: set ft=make :
# run the ublue nix installer from determinate systems https://github.com/DeterminateSystems/nix-installer
nix-me-up:
ublue-nix-install

View file

@ -1,2 +1,4 @@
# vim: set ft=make :
change-root-shell:
sudo lchsh -i

View file

@ -10,7 +10,7 @@ The bling to pull in is declared under `install:`, and the code for installing t
type: bling # configure what to pull in from ublue-os/bling
install:
- fonts # selection of common good free fonts
- justfiles # add "!include /usr/share/ublue-os/just/bling.just"
- justfiles # add "!include /usr/share/ublue-os/just/100-bling.just"
# in your custom.just (added by default) or local justfile
- nix-installer # these are the silverblue nix installer scripts from dnkmmr69420
- ublue-os-wallpapers