generated from blue-build/template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
149 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# image will be published to ghcr.io/<user>/<name> | ||
name: bazzite-gnome-dx | ||
# 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 | ||
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 | ||
modules: | ||
- type: containerfile | ||
snippets: | ||
- ARG IMAGE_VENDOR="${IMAGE_REGISTRY}" | ||
- ARG FEDORA_MAJOR_VERSION="${OS_VERSION}" | ||
- ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}" | ||
- ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-bazzite}" | ||
- COPY --from=ghcr.io/ublue-os/bluefin-cli /usr/bin/atuin /usr/bin/atuin | ||
- COPY --from=ghcr.io/ublue-os/bluefin-cli /usr/share/bash-prexec /usr/share/bash-prexec | ||
|
||
- type: files | ||
files: | ||
- ../bluefin/system_files/shared: / | ||
- ../bluefin/system_files/silverblue/usr/bin: /usr/bin | ||
- ../bluefin/system_files/silverblue/usr/etc/flatpak: /usr/etc/flatpak | ||
- ../bluefin/system_files/silverblue/usr/etc/profile.d: /usr/etc/profile.d | ||
- ../bluefin/system_files/silverblue/usr/share: /usr/share | ||
- ../bluefin/system_files/dx: / | ||
- shared: / | ||
|
||
# Activate RPM Fusion repos | ||
- type: script | ||
scripts: | ||
- copr-repos.sh | ||
|
||
# Install packages from Bluefin and Bluefin DX | ||
- from-file: packages.yml | ||
|
||
# Install GNOME packages | ||
- type: rpm-ostree | ||
install: | ||
- simple-scan | ||
- 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 | ||
- libgda-sqlite | ||
- libgda | ||
- libratbag-ratbagd | ||
- nautilus-gsconnect | ||
- openssh-askpass | ||
- yaru-theme | ||
- gnome-shell-extension-tailscale-gnome-qs | ||
- nautilus-open-any-terminal | ||
remove: | ||
- gnome-extensions-app | ||
- gnome-software-rpm-ostree | ||
- gnome-tour | ||
- gnome-terminal-nautilus | ||
|
||
# Install Starhip and activate RPM Fusion repos | ||
- type: script | ||
snippets: | ||
- "find ${CONFIG_DIRECTORY}/bluefin/build_files -type f -exec chmod +x {} \\;" # Make bluefin scripts executable | ||
scripts: | ||
- ../bluefin/build_files/shared/image-info.sh | ||
- fetch-install.sh | ||
- ../bluefin/build_files/base/fetch-quadlets.sh | ||
|
||
# alternatives cannot create symlinks on its own during a container build | ||
- type: script | ||
snippets: | ||
- "ln -sf /usr/bin/ld.bfd /etc/alternatives/ld && ln -sf /etc/alternatives/ld /usr/bin/ld" | ||
|
||
# Install fonts | ||
- type: fonts | ||
fonts: | ||
nerd-fonts: | ||
- FiraCode # don't add spaces or "Nerd Font" suffix. | ||
- Hack | ||
- SourceCodePro | ||
- Terminus | ||
- JetBrainsMono | ||
- NerdFontsSymbolsOnly | ||
google-fonts: | ||
- Roboto | ||
- Open Sans | ||
|
||
# Enable systemd services | ||
- type: systemd | ||
system: | ||
enabled: | ||
- rpm-ostree-countme.service | ||
# - dconf-update.service Already in Bazzite | ||
- docker.socket | ||
- podman.socket | ||
- swtpm-workaround.service | ||
user: | ||
enabled: | ||
- podman-auto-update.timer | ||
|
||
# Cleanup repos, etc... | ||
- type: script | ||
scripts: | ||
- cleanup.sh | ||
|
||
- type: signing # this sets up the proper policy & signing files for signed images to work fully | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters