Skip to content

Commit

Permalink
Merge pull request #45 from blue-build/fix-default-recipe-validation
Browse files Browse the repository at this point in the history
fix: Make the recipe pass validation for new users
  • Loading branch information
fiftydinar authored Dec 4, 2024
2 parents 8d3b790 + c36f4f0 commit 6913849
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions recipes/recipe.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name>
name: template
# description will be included in the image's metadata
description: This is my personal OS image.

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

# module configuration, executed in order
# you can include multiple instances of the same module
Expand All @@ -17,32 +19,32 @@ modules:

- type: rpm-ostree
repos:
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
install:
# - micro
# - starship
- micro
- starship
remove:
# example: removing firefox (in favor of the flatpak)
# "firefox" is the main package, "firefox-langpacks" is a dependency
# - firefox
# - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)
- firefox
- firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)

- type: default-flatpaks
notify: true # Send notification after install/uninstall is finished (true/false)
system:
# If no repo information is specified, Flathub will be used by default
# repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo
# repo-name: flathub
# repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
repo-name: flathub
repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install:
# - org.mozilla.firefox
# - org.gnome.Loupe
- org.mozilla.firefox
- org.gnome.Loupe
# - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch).
# Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08),
# only normal flatpak applications are (like Floorp Lightning web browser in this example).
# Installing different branches of the same Flatpak is not supported.
remove:
# - org.gnome.eog
- org.gnome.eog

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

0 comments on commit 6913849

Please sign in to comment.