From ec43343586dd1aebf9c3c56bd423ef24bbcf1b01 Mon Sep 17 00:00:00 2001 From: askpng <81590263+askpng@users.noreply.github.com> Date: Thu, 6 Feb 2025 23:55:16 +0700 Subject: [PATCH] feat: :tada: init solarizzed (experimental) - init solarizzed - create files module to copy codium repo - create rpm-ostree module to add codium, windscribe, zen-browser, and prettifying packages - remove unwanted packages - add fonts module & script module as prettifier --- .github/workflows/build-solarizzed.yml | 34 +++++++++++++++++++ recipes/solarizzed.yml | 45 ++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 .github/workflows/build-solarizzed.yml create mode 100644 recipes/solarizzed.yml diff --git a/.github/workflows/build-solarizzed.yml b/.github/workflows/build-solarizzed.yml new file mode 100644 index 0000000..de41f34 --- /dev/null +++ b/.github/workflows/build-solarizzed.yml @@ -0,0 +1,34 @@ +name: Build solarizzed +on: + schedule: + - cron: "00 6 * * 1" # build at 6 AM UTC on Mondays + + push: + paths: + - "recipes/solarizzed.yml" + + pull_request: # allow PRs triggering builds + workflow_dispatch: # allow manually triggering builds +jobs: + bluebuild: + name: Build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + id-token: write + strategy: + fail-fast: false # stop GH from cancelling all matrix builds if one fails + matrix: + recipe: + - solarizzed.yml + steps: + # the build is fully handled by the reusable github action + - name: Build Custom Image + uses: blue-build/github-action@v1.8 + with: + recipe: ${{ matrix.recipe }} + rechunk: true + cosign_private_key: ${{ secrets.SIGNING_SECRET }} + registry_token: ${{ github.token }} + pr_event_number: ${{ github.event.number }} \ No newline at end of file diff --git a/recipes/solarizzed.yml b/recipes/solarizzed.yml new file mode 100644 index 0000000..bc375ed --- /dev/null +++ b/recipes/solarizzed.yml @@ -0,0 +1,45 @@ +name: solarizzed +description: Based on bazzite-deck + +base-image: ghcr.io/ublue-os/bazzite-deck +image-version: stable + +modules: + - type: files + source: shared/etc/ + destination: /etc + + - type: rpm-ostree + repos: + - https://copr.fedorainfracloud.org/coprs/dusansimic/themes/repo/fedora-%OS_VERSION%/dusansimic-themes-fedora-%OS_VERSION%.repo #morewaita + - https://copr.fedorainfracloud.org/coprs/sneexy/zen-browser/repo/fedora-%OS_VERSION%/sneexy-zen-browser-fedora-%OS_VERSION%.repo #zen + optfix: + - windscribe + - zen + install: + - codium + - deepin-sound-theme + - fonts-tweak-tool + - morewaita-icon-theme + - oxygen-sounds + - pop-sound-theme + - yaru-sound-theme + - zen-browser + - https://github.com/Windscribe/Desktop-App/releases/download/v2.13.8/windscribe_2.13.8_x86_64_fedora.rpm + remove: + - gnome-shell-extension-user-theme + - gnome-shell-extension-compiz-windows-effect + - gnome-shell-extension-compiz-alike-magic-lamp-effect + - gnome-shell-extension-coverflow-alt-tab + - gnome-shell-extension-blur-my-shell + - gnome-shell-extension-hanabi + - ibus-pinyin + - ibus-table-chinese-cangjie + - ibus-table-chinese-quick + - openssh-askpass + + - from-file: shared/fonts.yml + + - from-file: shared/script.yml + + - type: signing \ No newline at end of file