Skip to content

Commit

Permalink
putting modules files in modules folder in recipes folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Heus-Sueh committed Aug 22, 2024
1 parent 9b0ce79 commit 21ae681
Show file tree
Hide file tree
Showing 15 changed files with 89 additions and 33 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
recipe:
# !! Add your recipes here
- recipe.yml
- recipe-dx.yml
- recipe-nvidia.yml
- recipe-dx-nvidia.yml
- recipe-vm.yml
steps:
# the build is fully handled by the reusable github action
Expand Down
9 changes: 0 additions & 9 deletions recipes/gaming.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions recipes/developer.yml → recipes/modules/developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,23 @@ modules:
- qemu-system-x86-core
- qemu-user-binfmt
- qemu-user-static
# SystemD
- type: systemd
system:
enabled:
- libvirtd
- virtqemud.socket
- virtnetworkd.socket
- virtstoraged.socket
- virtnodedevd.socket
disabled:
# - flatpak-system-update.timer
user:
enabled:
# - my-custom.service
disabled:
# - flatpak-user-update.timer
# ----------------------------------------------------------------------- #
- type: script
snippets:
# - "curl https://example.com/examplebinary > /usr/bin/examplebinary" # example: download binary
File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions recipes/modules/gaming.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
modules:
# some good packages
- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-%OS_VERSION%/kylegospo-bazzite-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/repo/fedora-%OS_VERSION%/kylegospo-bazzite-multilib-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/repo/fedora-%OS_VERSION%/kylegospo-LatencyFleX-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/sentry/switcheroo-control_discrete/repo/fedora-%OS_VERSION%/sentry-switcheroo-control_discrete-fedora-%OS_VERSION%.repo
install:
- gamescope
- gamemode
- mangohud
- lutris
- umu-launcher
- latencyflex-vulkan-layer
replace:
- from-repo: https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/repo/fedora-%OS_VERSION%/kylegospo-bazzite-multilib-fedora-%OS_VERSION%.repo
packages:
- mesa-filesystem
- mesa-libxatracker
- mesa-libglapi
- mesa-dri-drivers
- mesa-libgbm
- mesa-libEGL
- mesa-vulkan-drivers
- mesa-libGL
- pipewire
- pipewire-alsa
- pipewire-gstreamer
- pipewire-jack-audio-connection-kit
- pipewire-jack-audio-connection-kit-libs
- pipewire-libs
- pipewire-pulseaudio
- pipewire-utils
- pipewire-plugin-libcamera
- bluez
- bluez-obexd
- bluez-cups
- bluez-libs
# --------------------------------------------------- #
- type: script
snippets:
# - "curl https://example.com/examplebinary > /usr/bin/examplebinary" # example: download binary
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions recipes/recipe-nvidia-dx.yml → recipes/recipe-dx-nvidia.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# image will be published to ghcr.io/<user>/<name>
name: hyprland-nvidia-dx
name: hyprland-dx-nvidia
# description will be included in the image's metadata
description: This is my personal OS image.

Expand All @@ -11,11 +11,11 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# you can include multiple instances of the same module
modules:
# ----------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: developer.yml
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file: modules/fonts.yml
- from-file: modules/default-flatpaks.yml
- from-file: modules/developer.yml
# ----------------------------------------------------------------------------------------------------------------------------
# SystemD
- type: systemd
Expand Down
10 changes: 5 additions & 5 deletions recipes/recipe-dx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# you can include multiple instances of the same module
modules:
# ---------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: developer.yml
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file: modules/fonts.yml
- from-file: modules/default-flatpaks.yml
- from-file: modules/developer.yml
# ---------------------------------------------------------------------------------------------------------------------------
# SystemD
- type: systemd
Expand Down
8 changes: 4 additions & 4 deletions recipes/recipe-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# you can include multiple instances of the same module
modules:
# ----------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file: modules/fonts.yml
- from-file: modules/default-flatpaks.yml
# ----------------------------------------------------------------------------------------------------------------------------
# SystemD
- type: systemd
Expand Down
10 changes: 5 additions & 5 deletions recipes/recipe-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# you can include multiple instances of the same module
modules:
# ---------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: vm.yml
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file: modules/fonts.yml
- from-file: modules/default-flatpaks.yml
- from-file: modules/vm.yml
# ---------------------------------------------------------------------------------------------------------------------------
# SystemD
- type: systemd
Expand Down
8 changes: 4 additions & 4 deletions recipes/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ image-version: 40 # latest is also supported if you want new updates ASAP
# you can include multiple instances of the same module
modules:
# ---------------------------------------------------------------------------------------------------------------------------
- from-file: pkgs.yml
- from-file: common-files.yml
- from-file: fonts.yml
- from-file: default-flatpaks.yml
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file: modules/fonts.yml
- from-file: modules/default-flatpaks.yml
# ---------------------------------------------------------------------------------------------------------------------------
# SystemD
- type: systemd
Expand Down

0 comments on commit 21ae681

Please sign in to comment.