Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use --nvidia when creating distrobox containers + Switch to new justfile system #47

Merged
merged 1 commit into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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