Skip to content

Commit

Permalink
Remove common_recipe and move things to 2 separate files
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Torres Pérez committed Jun 19, 2024
1 parent 37ec9fe commit dc049af
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 73 deletions.
65 changes: 0 additions & 65 deletions recipes/common-recipe.yml

This file was deleted.

6 changes: 0 additions & 6 deletions recipes/nvidia-changes.yml

This file was deleted.

65 changes: 64 additions & 1 deletion recipes/recipe-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,70 @@ image-version: 40 # 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: common-recipe.yml
- type: files
files:
- usr: /usr # copies config/files/usr into your image's /usr.
# put configuration files you want in /etc/ on a booted system
# in /usr/etc/ in the image. read more in files module reference.

- type: rpm-ostree
repos:
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/atim/ubuntu-fonts/repo/fedora-%OS_VERSION%/atim-ubuntu-fonts-fedora-%OS_VERSION%.repo
install:
# - micro
# - starship
- powerline-go
- gnome-shell-extension-appindicator
# all evince related libraries are already installed, don't see the benefit on installing it via flatpak
- evince
# *I think* flatpak simple-scan only works with driverless scanners, probably better to keep it layered
- simple-scan
# additional fonts
- ubuntu-family-fonts
- fira-code-fonts
- cascadia-code-nf-fonts
remove:
# example: removing firefox (in favor of the flatpak)
# "firefox" is the main package, "firefox-langpacks" is a dependency
# - firefox
# - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)
- gnome-software-rpm-ostree
- virtualbox-guest-additions

- 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:
- org.gnome.Calculator
- org.gnome.Calendar
- org.gnome.Characters
- org.gnome.Contacts
- com.mattjakeman.ExtensionManager
- org.gnome.Loupe
- org.gnome.NautilusPreviewer
- org.gnome.TextEditor
- com.github.rafostar.Clapper
- org.gnome.FileRoller
- com.github.tchx84.Flatseal
- io.gitlab.adhami3310.Impression
- org.libreoffice.LibreOffice
# - org.mozilla.firefox
# - org.gnome.Loupe
# - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch).
# Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08),
# only normal flatpak applications are (like Floorp Lightning web browser in this example).
# Installing different branches of the same Flatpak is not supported.
remove:
# - org.gnome.eog

- type: gschema-overrides
include:
- zz1-nimbus.gschema.override

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

65 changes: 64 additions & 1 deletion recipes/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,70 @@ image-version: 40 # 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: common-recipe.yml
- type: files
files:
- usr: /usr # copies config/files/usr into your image's /usr.
# put configuration files you want in /etc/ on a booted system
# in /usr/etc/ in the image. read more in files module reference.

- type: rpm-ostree
repos:
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/atim/ubuntu-fonts/repo/fedora-%OS_VERSION%/atim-ubuntu-fonts-fedora-%OS_VERSION%.repo
install:
# - micro
# - starship
- powerline-go
- gnome-shell-extension-appindicator
# all evince related libraries are already installed, don't see the benefit on installing it via flatpak
- evince
# *I think* flatpak simple-scan only works with driverless scanners, probably better to keep it layered
- simple-scan
# additional fonts
- ubuntu-family-fonts
- fira-code-fonts
- cascadia-code-nf-fonts
remove:
# example: removing firefox (in favor of the flatpak)
# "firefox" is the main package, "firefox-langpacks" is a dependency
# - firefox
# - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)
- gnome-software-rpm-ostree
- virtualbox-guest-additions

- 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:
- org.gnome.Calculator
- org.gnome.Calendar
- org.gnome.Characters
- org.gnome.Contacts
- com.mattjakeman.ExtensionManager
- org.gnome.Loupe
- org.gnome.NautilusPreviewer
- org.gnome.TextEditor
- com.github.rafostar.Clapper
- org.gnome.FileRoller
- com.github.tchx84.Flatseal
- io.gitlab.adhami3310.Impression
- org.libreoffice.LibreOffice
# - org.mozilla.firefox
# - org.gnome.Loupe
# - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch).
# Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08),
# only normal flatpak applications are (like Floorp Lightning web browser in this example).
# Installing different branches of the same Flatpak is not supported.
remove:
# - org.gnome.eog

- type: gschema-overrides
include:
- zz1-nimbus.gschema.override

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

0 comments on commit dc049af

Please sign in to comment.