Skip to content

Commit

Permalink
Merge pull request #5 from Plyrolith/main
Browse files Browse the repository at this point in the history
Add images with NVIDIA drivers
  • Loading branch information
Sparkrai authored Dec 16, 2024
2 parents 9a248dd + 40abd44 commit 4da4097
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 127 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
matrix:
recipe:
- bazzite-dx.yml
- bazzite-dx-nvidia.yml
- bazzite-gnome-dx.yml
- bazzite-gnome-dx-nvidia.yml
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
Expand Down
14 changes: 14 additions & 0 deletions recipes/bazzite-dx-nivida.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Image will be published to ghcr.io/<user>/<name>
name: bazzite-dx-nvidia
# Description will be included in the image's metadata
description: This is my custom Bazzite image that tries to add all the development capabilities from the Aurora DX image.

# The base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/bazzite-nvidia
image-version: latest # latest is also supported if you want new updates ASAP

# Module configuration
modules:

# Common steps between KDE versions
- from-file: common_kde_recipe.yml
60 changes: 3 additions & 57 deletions recipes/bazzite-dx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,61 +7,7 @@ description: This is my custom Bazzite image that tries to add all the developme
base-image: ghcr.io/ublue-os/bazzite
image-version: latest # latest is also supported if you want new updates ASAP

# module configuration, executed in order
# you can include multiple instances of the same module
# module configuration
modules:
- type: files
files:
- source: bluefin/system_files/shared/usr/bin
destination: /usr/bin
- source: bluefin/system_files/shared/usr/libexec
destination: /usr/libexec
- source: bluefin/system_files/shared/usr/lib/tmpfiles.d
destination: /usr/lib/tmpfiles.d
- source: bluefin/system_files/shared/usr/share/ublue-os/bluefin-cli
destination: /usr/share/ublue-os/bluefin-cli
- source: bluefin/system_files/shared/usr/share/ublue-os/homebrew
destination: /usr/share/ublue-os/homebrew
- source: bluefin/system_files/shared/usr/share/ublue-os/quadlets
destination: /usr/share/ublue-os/quadlets
- source: bluefin/system_files/shared/usr/share/ublue-os/ublue-os.jsonc
destination: /usr/share/ublue-os/ublue-os.jsonc
- source: bluefin/system_files/kinoite/usr/bin
destination: /usr/bin
- source: bluefin/system_files/kinoite/usr/share/applications
destination: /usr/share/applications
- source: bluefin/system_files/kinoite/usr/share/kglobalaccel
destination: /usr/share/kglobalaccel
- source: bluefin/system_files/dx
destination: /
- source: files/shared
destination: /
- source: files/kinoite
destination: /

# Common steps between both versions
- from-file: common_recipe.yml

# Install KDE Packages
- type: rpm-ostree
install:
- kde-runtime-docs
- kdenetwork-filesharing
# - kdeplasma-addons # Already included in bazzite
- kdialog
- libadwaita-qt5
- libadwaita-qt6
- plasma-wallpapers-dynamic
- skanpage
remove:
- krfb
- krfb-libs
- plasma-welcome

# Cleanup repos, etc...
- type: script
scripts:
- cleanup.sh

- type: signing # this sets up the proper policy & signing files for signed images to work fully

# Common steps between KDE versions
- from-file: common_kde_recipe.yml
14 changes: 14 additions & 0 deletions recipes/bazzite-gnome-dx-nvidia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Image will be published to ghcr.io/<user>/<name>
name: bazzite-gnome-dx-nvidia
# Description will be included in the image's metadata
description: This is my custom Bazzite GNOME image that tries to add all the development capabilities from the Bluefin DX image.

# The base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/bazzite-gnome-nvidia
image-version: latest # latest is also supported if you want new updates ASAP

# Module configuration
modules:

# Common steps between GNOME versions
- from-file: common_gnome_recipe.yml
73 changes: 3 additions & 70 deletions recipes/bazzite-gnome-dx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,74 +7,7 @@ description: This is my custom Bazzite GNOME image that tries to add all the dev
base-image: ghcr.io/ublue-os/bazzite-gnome
image-version: latest # latest is also supported if you want new updates ASAP

# module configuration, executed in order
# you can include multiple instances of the same module
# module configuration
modules:
- type: containerfile
snippets:
- ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-bazzite-gnome}"

- type: files
files:
- source: bluefin/system_files/shared/usr/bin
destination: /usr/bin
- source: bluefin/system_files/shared/usr/libexec
destination: /usr/libexec
- source: bluefin/system_files/shared/usr/lib/tmpfiles.d
destination: /usr/lib/tmpfiles.d
- source: bluefin/system_files/shared/usr/share/ublue-os/bluefin-cli
destination: /usr/share/ublue-os/bluefin-cli
- source: bluefin/system_files/shared/usr/share/ublue-os/homebrew
destination: /usr/share/ublue-os/homebrew
- source: bluefin/system_files/shared/usr/share/ublue-os/quadlets
destination: /usr/share/ublue-os/quadlets
# Avoid Bluefin branding
# - source: bluefin/system_files/silverblue/usr/share:
# destination: /usr/share
- source: bluefin/system_files/dx
destination: /
- source: files/shared
destination: /

# Common steps between both versions
- from-file: common_recipe.yml

# Install GNOME packages
- type: rpm-ostree
install:
- cryfs
- gnome-shell-extension-appindicator
- gnome-shell-extension-blur-my-shell
# - gnome-shell-extension-caffeine
- gnome-shell-extension-dash-to-dock
# - gnome-shell-extension-gsconnect
# - gnome-shell-extension-logo-menu
- gnome-shell-extension-search-light
- gnome-shell-extension-tailscale-gnome-qs
- libgda
- libgda-sqlite
- libratbag-ratbagd
- nautilus-gsconnect
- nautilus-open-any-terminal
- openssh-askpass
- simple-scan
- yaru-theme
- zenity
remove:
- gnome-extensions-app
- gnome-software-rpm-ostree
- gnome-tour
- gnome-terminal-nautilus

- type: gnome-extensions
install:
# - Logo Menu # Already in Bazzite
- Search Light

# Cleanup repos, etc...
- type: script
scripts:
- cleanup.sh

- type: signing # this sets up the proper policy & signing files for signed images to work fully

# Common steps between GNOME versions
- from-file: common_gnome_recipe.yml
70 changes: 70 additions & 0 deletions recipes/common_gnome_recipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Module configuration, executed in order
# You can include multiple instances of the same module
modules:
- type: containerfile
snippets:
- ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-bazzite-gnome}"

- type: files
files:
- source: bluefin/system_files/shared/usr/bin
destination: /usr/bin
- source: bluefin/system_files/shared/usr/libexec
destination: /usr/libexec
- source: bluefin/system_files/shared/usr/lib/tmpfiles.d
destination: /usr/lib/tmpfiles.d
- source: bluefin/system_files/shared/usr/share/ublue-os/bluefin-cli
destination: /usr/share/ublue-os/bluefin-cli
- source: bluefin/system_files/shared/usr/share/ublue-os/homebrew
destination: /usr/share/ublue-os/homebrew
- source: bluefin/system_files/shared/usr/share/ublue-os/quadlets
destination: /usr/share/ublue-os/quadlets
# Avoid Bluefin branding
# - source: bluefin/system_files/silverblue/usr/share:
# destination: /usr/share
- source: bluefin/system_files/dx
destination: /
- source: files/shared
destination: /

# Common steps between all versions
- from-file: common_recipe.yml

# Install GNOME packages
- type: rpm-ostree
install:
- cryfs
- gnome-shell-extension-appindicator
- gnome-shell-extension-blur-my-shell
# - gnome-shell-extension-caffeine
- gnome-shell-extension-dash-to-dock
# - gnome-shell-extension-gsconnect
# - gnome-shell-extension-logo-menu
- gnome-shell-extension-search-light
- gnome-shell-extension-tailscale-gnome-qs
- libgda
- libgda-sqlite
- libratbag-ratbagd
- nautilus-gsconnect
- nautilus-open-any-terminal
- openssh-askpass
- simple-scan
- yaru-theme
- zenity
remove:
- gnome-extensions-app
- gnome-software-rpm-ostree
- gnome-tour
- gnome-terminal-nautilus

- type: gnome-extensions
install:
# - Logo Menu # Already in Bazzite
- Search Light

# Cleanup repos, etc...
- type: script
scripts:
- cleanup.sh

- type: signing # this sets up the proper policy & signing files for signed images to work fully
57 changes: 57 additions & 0 deletions recipes/common_kde_recipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Module configuration, executed in order
# You can include multiple instances of the same module
modules:
- type: files
files:
- source: bluefin/system_files/shared/usr/bin
destination: /usr/bin
- source: bluefin/system_files/shared/usr/libexec
destination: /usr/libexec
- source: bluefin/system_files/shared/usr/lib/tmpfiles.d
destination: /usr/lib/tmpfiles.d
- source: bluefin/system_files/shared/usr/share/ublue-os/bluefin-cli
destination: /usr/share/ublue-os/bluefin-cli
- source: bluefin/system_files/shared/usr/share/ublue-os/homebrew
destination: /usr/share/ublue-os/homebrew
- source: bluefin/system_files/shared/usr/share/ublue-os/quadlets
destination: /usr/share/ublue-os/quadlets
- source: bluefin/system_files/shared/usr/share/ublue-os/ublue-os.jsonc
destination: /usr/share/ublue-os/ublue-os.jsonc
- source: bluefin/system_files/kinoite/usr/bin
destination: /usr/bin
- source: bluefin/system_files/kinoite/usr/share/applications
destination: /usr/share/applications
- source: bluefin/system_files/kinoite/usr/share/kglobalaccel
destination: /usr/share/kglobalaccel
- source: bluefin/system_files/dx
destination: /
- source: files/shared
destination: /
- source: files/kinoite
destination: /

# Common steps between all versions
- from-file: common_recipe.yml

# Install KDE Packages
- type: rpm-ostree
install:
- kde-runtime-docs
- kdenetwork-filesharing
# - kdeplasma-addons # Already included in bazzite
- kdialog
- libadwaita-qt5
- libadwaita-qt6
- plasma-wallpapers-dynamic
- skanpage
remove:
- krfb
- krfb-libs
- plasma-welcome

# Cleanup repos, etc...
- type: script
scripts:
- cleanup.sh

- type: signing # this sets up the proper policy & signing files for signed images to work fully

0 comments on commit 4da4097

Please sign in to comment.