split recipe into components to be more manageable and organized

This commit is contained in:
2025-05-19 13:45:15 -04:00
parent d3603718a9
commit 534aca65f7
5 changed files with 51 additions and 31 deletions

View File

@@ -12,37 +12,10 @@ image-version: latest # 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:
- type: files
files:
- source: system
destination: / # copies files/system/* (* means everything inside it) into your image's root folder /
- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/solopasha/hyprland/repo/fedora-%OS_VERSION%/solopasha-hyprland-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/erikreider/SwayNotificationCenter/repo/fedora-%OS_VERSION%/erikreider-SwayNotificationCenter-fedora-%OS_VERSION%.repo
install:
- hyprland-git
- hyprpanel
- neovim
- SwayNotificationCenter
- hyprpolkitagent
- hyprshot
- 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
install:
- one.ablaze.floorp
- com.discordapp.Discord
user: {} # Also add Flathub user repo, but no user packages
- type: systemd
user:
enabled:
- hyprpanel.service
- hyprpolkitagent.service
- from-file: components/sys-files-module.yml
- from-file: components/sddm-module.yml
- from-file: components/hyprland-module.yml
- from-file: components/default-flatpak.yml
- type: signing # this sets up the proper policy & signing files for signed images to work fully