Skip to content

Commit

Permalink
Refactored recipes furthermore into separate folders
Browse files Browse the repository at this point in the history
  • Loading branch information
franute committed Dec 17, 2024
1 parent 3b15f50 commit d6a38d1
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 27 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
- recipe.yml

pull_request:
paths-ignore:
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions recipes/dev-flatpak.yml → recipes/dev/dev-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ modules:
# repo-name: flathub
# repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install:
# common packages
- com.github.tchx84.Flatseal
- com.mattjakeman.ExtensionManager
- de.haeckerfelix.Fragments
- io.gitlab.adhami3310.Impression
- net.nokyan.Resources
- org.gnome.Calculator
- org.gnome.Calendar
- org.gnome.Characters
- org.gnome.Contacts
- org.gnome.Logs
- org.gnome.Loupe
- org.gnome.TextEditor
- org.gnome.Showtime
- org.libreoffice.LibreOffice
# dev packages
- com.obsproject.Studio
- com.obsproject.Studio.Plugin.Gstreamer
- com.obsproject.Studio.Plugin.GStreamerVaapi
Expand All @@ -16,6 +32,7 @@ modules:
- org.cockpit_project.CockpitClient
- com.discordapp.Discord
- org.gimp.GIMP
- org.gnome.Boxes
- org.gnome.Builder
- org.gnome.Connections
- org.gnome.gitg
Expand Down
10 changes: 3 additions & 7 deletions recipes/dev-recipe.yml → recipes/dev/dev-recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ modules:
- source: system/dev
destination: /

- from-file: common-rpm.yml
- from-file: dev/dev-rpm.yml

- from-file: dev-rpm.yml

- from-file: common-flatpak.yml

- from-file: dev-flatpak.yml
- from-file: dev/dev-flatpak.yml

- type: gschema-overrides
include:
Expand All @@ -33,4 +29,4 @@ modules:
all-users: false
file-conflict-policy: skip

- from-file: autofirma.yml
- from-file: common/autofirma.yml
2 changes: 2 additions & 0 deletions recipes/dev-rpm.yml → recipes/dev/dev-rpm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
modules:
- from-file: common/common-rpm.yml

- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
Expand Down
3 changes: 3 additions & 0 deletions recipes/common-flatpak.yml → recipes/home/home-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ modules:
# repo-name: flathub
# repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install:
# common packages
- com.github.tchx84.Flatseal
- com.mattjakeman.ExtensionManager
- de.haeckerfelix.Fragments
Expand All @@ -21,3 +22,5 @@ modules:
- org.gnome.TextEditor
- org.gnome.Showtime
- org.libreoffice.LibreOffice
# home packages
- com.github.maoschanz.drawing
7 changes: 7 additions & 0 deletions recipes/home/home-rpm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
modules:
- from-file: common/common-rpm.yml

- type: rpm-ostree
install:
- gnome-shell-extension-dash-to-panel
- gnome-shell-extension-blur-my-shell
2 changes: 1 addition & 1 deletion recipes/recipe-dev-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ 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
modules:
- from-file: dev-recipe.yml
- from-file: dev/dev-recipe.yml

- type: signing # this sets up the proper policy & signing files for signed images to work fully
2 changes: 1 addition & 1 deletion recipes/recipe-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ 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
modules:
- from-file: dev-recipe.yml
- from-file: dev/dev-recipe.yml

- type: signing # this sets up the proper policy & signing files for signed images to work fully
21 changes: 3 additions & 18 deletions recipes/recipe-home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,9 @@ modules:
# while putting files in /etc/ is done on booted system by system administrators.
# read more about this in files module reference.

- from-file: common-rpm.yml
- from-file: home/home-rpm.yml

- type: rpm-ostree
install:
- gnome-shell-extension-dash-to-panel
- gnome-shell-extension-blur-my-shell

- from-file: common-flatpak.yml

- 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
install:
- com.github.maoschanz.drawing
- from-file: home/home-flatpak.yml

- type: gschema-overrides
include:
Expand All @@ -50,6 +35,6 @@ modules:
- NetworkManager-wait-online.service
- flatpak-add-fedora-repos.service

- from-file: autofirma.yml
- from-file: common/autofirma.yml

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

0 comments on commit d6a38d1

Please sign in to comment.