Skip to content

Commit

Permalink
fix: Use --nvidia when creating distrobox containers.
Browse files Browse the repository at this point in the history
feat: Switch to new numbered justfile system
  • Loading branch information
KyleGospo committed Sep 22, 2023
1 parent 2532292 commit a52094c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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
8 changes: 5 additions & 3 deletions files/usr/share/ublue-os/just/bling/distrobox.just
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# 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

[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")

Expand All @@ -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
2 changes: 2 additions & 0 deletions files/usr/share/ublue-os/just/bling/gaming.just
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions files/usr/share/ublue-os/just/bling/nix.just
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions files/usr/share/ublue-os/just/bling/shells.just
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# vim: set ft=make :

change-root-shell:
sudo lchsh -i
2 changes: 1 addition & 1 deletion modules/bling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a52094c

Please sign in to comment.