Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
🐳 chore: make the configuration more modular
Browse files Browse the repository at this point in the history
In the future, I want to create more images for testing purposes
  • Loading branch information
c0deplayer committed Sep 28, 2023
1 parent 485e6ae commit 3d8e39a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 38 deletions.
39 changes: 39 additions & 0 deletions config/common-modules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

- type: files
files:
- usr: /usr

- type: rpm-ostree
repos:
- https://download.opensuse.org/repositories/hardware:/razer/Fedora_%OS_VERSION%/hardware:razer.repo
install:
- polychromatic
- openrazer-meta
remove:
- firefox
- firefox-langpacks
- gnome-software
- gnome-software-rpm-ostree
- gnome-tour

- type: bling
install:
- fonts
- dconf-update-service

- type: systemd
system:
disabled:
- flatpak-system-update.timer
- rpm-ostreed-automatic.timer
user:
disabled:
- flatpak-user-update.timer

- type: yafti

- type: script
scripts:
- openrazer.sh
- cleanup.sh
- signing.sh
39 changes: 1 addition & 38 deletions config/silverflow-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,4 @@ base-image: ghcr.io/ublue-os/silverblue-nvidia
image-version: 38

modules:
- type: files
files:
- usr: /usr

- type: rpm-ostree
repos:
- https://download.opensuse.org/repositories/hardware:/razer/Fedora_%OS_VERSION%/hardware:razer.repo
install:
- polychromatic
- openrazer-meta
remove:
- firefox
- firefox-langpacks
- gnome-software
- gnome-software-rpm-ostree
- gnome-tour

- type: bling
install:
- fonts
- dconf-update-service

- type: systemd
system:
disabled:
- flatpak-system-update.timer
- rpm-ostreed-automatic.timer
user:
disabled:
- flatpak-user-update.timer

- type: yafti

- type: script
scripts:
- openrazer.sh
- cleanup.sh
- signing.sh
- from-file: common-modules.yml

0 comments on commit 3d8e39a

Please sign in to comment.