split recipe into components to be more manageable and organized
This commit is contained in:
9
recipes/components/default-flatpak.yml
Normal file
9
recipes/components/default-flatpak.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
modules:
|
||||||
|
- type: default-flatpaks
|
||||||
|
notify: true
|
||||||
|
system:
|
||||||
|
install:
|
||||||
|
- one.ablaze.floorp
|
||||||
|
user:
|
||||||
|
install:
|
||||||
|
- com.discordapp.Discord
|
18
recipes/components/hyprland-module.yml
Normal file
18
recipes/components/hyprland-module.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
modules:
|
||||||
|
- 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: systemd
|
||||||
|
user:
|
||||||
|
enabled:
|
||||||
|
- hyprpanel.service
|
||||||
|
- hyprpolkitagent.service
|
15
recipes/components/sddm-module.yml
Normal file
15
recipes/components/sddm-module.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
modules:
|
||||||
|
- type: rpm-ostree
|
||||||
|
install:
|
||||||
|
- sddm
|
||||||
|
- sddm-themes
|
||||||
|
- qt5-qtgraphicaleffects
|
||||||
|
- qt5-qtquickcontrols2
|
||||||
|
- qt5-qtsvg
|
||||||
|
- kwallet
|
||||||
|
- pam-kwallet
|
||||||
|
|
||||||
|
- type: systemd
|
||||||
|
system:
|
||||||
|
enabled:
|
||||||
|
- sddm-boot-patch.service
|
5
recipes/components/sys-files-module.yml
Normal file
5
recipes/components/sys-files-module.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
modules:
|
||||||
|
- type: files
|
||||||
|
files:
|
||||||
|
- source: system
|
||||||
|
destination: / # copies files/system/* (* means everything inside it) into your image's root folder /
|
@@ -12,37 +12,10 @@ image-version: latest # latest is also supported if you want new updates ASAP
|
|||||||
# module configuration, executed in order
|
# module configuration, executed in order
|
||||||
# you can include multiple instances of the same module
|
# you can include multiple instances of the same module
|
||||||
modules:
|
modules:
|
||||||
- type: files
|
- from-file: components/sys-files-module.yml
|
||||||
files:
|
- from-file: components/sddm-module.yml
|
||||||
- source: system
|
- from-file: components/hyprland-module.yml
|
||||||
destination: / # copies files/system/* (* means everything inside it) into your image's root folder /
|
- from-file: components/default-flatpak.yml
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
- type: signing # this sets up the proper policy & signing files for signed images to work fully
|
- type: signing # this sets up the proper policy & signing files for signed images to work fully
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user