8000 GitHub - arminhammer/hyprblue at ci-fix · GitHub
[go: up one dir, main page]

Skip to content
arminhammerPublic

About

No description, website, or topics provided.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

hyprblue

A template for building your own bootc operating system image, assembled the same way Bluefin, Aurora, and Bluefin LTS are: from shared OCI layers rather than by modifying an existing image. The desktop configuration comes from projectbluefin/common, Homebrew from ublue-os/brew, and the rest is yours.

It is built to be driven by hand or by an agent.

Be the one who moves, not the one who is moved.

What Makes this Raptor Different?

Here are the changes from [Base Image Name]. This image is based on [Bluefin/Bazzite/Aurora/etc] and includes these customizations:

Added Packages (Build-time)

  • List the packages you install at build time

Added Applications (Runtime)

  • CLI tools (Homebrew): list them
  • GUI apps (Flatpak): list them

Removed or Disabled

  • List anything removed from the base image

Configuration Changes

  • Systemd services enabled or disabled
  • Desktop environment changes
  • Other notable modifications

Last updated: [date]

This section is what tells your users how your image differs from its base. Update it whenever you add or remove a package, app, or service.

Quick start

  1. Create your repository — "Use this template" on GitHub.

  2. Rename the project. The published name is your repository name. Three files carry it as a literal, and just test-contract fails if they disagree:

    • Containerfile — the # Name: comment and ARG IMAGE_NAME
    • Justfile — the IMAGE_NAME default
    • artifacthub-repo.yml — repositoryID

    Grep for hyprblue afterwards to catch the prose and the examples.

  3. Finish setup. The onboarding skill carries the rest — enabling Actions, auto-merge and workflow permissions, the Renovate token, the stable branch, branch protection on both branches, and the labels. Every step has a gh command and a GitHub-website route, and the skill ends by auditing that each setting matches.

What's included

Build system

  • A build on every push to main, publishing :stable-testing
  • Renovate through projectbluefin/actions, updating pinned actions and image digests every six hours
  • Images older than 90 days pruned automatically
  • Pull requests validated for shellcheck, hadolint, Brewfiles, Flatpaks, Justfiles, and Renovate config
  • Keyless OIDC signing on every published image

Runtime

  • Homebrew, pre-staged at build time and unpacked on first boot
  • Flatpaks declared in custom/flatpaks/, installed on first boot
  • ujust shortcuts for the Brewfiles and for re-applying configuration
  • uupd for scheduled system updates

Customize

Pick your base image on the Containerfile's FROM line; the template defaults to Fedora Silverblue. That line is the only place the base is chosen: just build reads the image name and the tag from it, and the Fedora major comes from the base image itself during the build.

Then add to your image:

  • System packages — build/20-packages-and-services.sh (guide)
  • CLI tools — custom/brew/ (guide)
  • GUI apps — custom/flatpaks/ (guide)
  • Commands — custom/ujust/ (guide)

The customize skill decides which of those a given package belongs in.

Releases

Branch Image tag Audience
main :stable-testing Testers and release candidates
stable :stable Production

The image ships as two variants, hyprblue and hyprblue-nvidia; both carry the same tags, and the NVIDIA variant installs the driver from ublue-os akmods. Build locally with NVIDIA=1 just build hyprblue-nvidia stable.

Merging to main publishes :stable-testing; the promotion PR that follows publishes :stable when merged. Promotion verifies the cosign signature on the testing image before it reports ready, and refuses to promote at all once main has moved past the commit the promotion PR was built from.

Known gap: the promotion gate checks the digest and the signature only. It runs no end-to-end tests, so release/ready means "signed and unmodified", not "functionally validated".

Image signing

Images are signed with keyless OIDC via Cosign and GitHub Actions. There is no key to generate or store.

cosign verify \
  --certificate-identity-regexp="https://github.com/your-username/your-repo-name/.github/workflows/" \
  --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
  ghcr.io/your-username/your-repo-name:stable

Unsigned images fail the promotion gate, so main → stable reports release/blocked until signing is restored.

Using your image

Switch to a built image:

sudo bootc switch --transport registry ghcr.io/your-username/your-repo-name:stable-testing
sudo systemctl reboot

Then, as your user:

ujust install-default-apps    # Homebrew: the default Brewfile
ujust install-dev-tools       # Homebrew: the development Brewfile
ujust configure-dev-groups    # add yourself to docker and libvirt
ujust install-config          # re-apply the image defaults, backing up yours

First boot unpacks Homebrew and installs the declared Flatpaks; both need a network connection. Check them with systemctl status brew-setup.service and systemctl status flatpak-preinstall.service.

Local testing

just build            # build the container image
just build-qcow2      # build a QCOW2 disk image
just run-vm-qcow2     # boot it in a browser-based VM
just build-iso        # build an installer ISO
just test-unit        # run the test suite

Troubleshooting

The troubleshooting skill covers build, CI, and runtime failures symptom-first. The two most common first-boot surprises:

  • No Flatpaks. flatpak-preinstall.service needs a network connection and reports success even when it cannot reach Flathub, so a first boot before Wi-Fi is configured installs nothing. Reboot once you are online.
  • No brew. brew-setup.service unpacks Homebrew on first boot; check its status before reaching for a reinstall.

Community

Learn more

Contributing

See CONTRIBUTING.md.

About

No description, website, or topics provided.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0