feat: Introduce Bazzite configuration page in yafti

- Allows for the configurable installation of Bazzite Arch
- Memory tuning section
This commit is contained in:
RJ Trujillo 2023-06-25 19:25:48 -06:00
parent 5b9226bb34
commit a2bdb758b1
2 changed files with 34 additions and 14 deletions

View File

@ -130,7 +130,19 @@ screens:
- qBittorrent: org.qbittorrent.qBittorrent
- Syncthing: com.github.zocker_160.SyncThingy
- VLC: org.videolan.VLC
configure-bazzite:
source: yafti.screen.package
values:
title: Configure Bazzite
show_terminal: true
package_manager: yafti.plugin.run
groups:
Memory Tuning:
description: Adjust ZRAM and configure deckswap
default: false
packages:
- Deck Swap: just swap-on
- Disable ZRAM: just zram-off
final-screen:
source: yafti.screen.title
values:

View File

@ -23,18 +23,6 @@ screens:
- run: flatpak remote-delete fedora --force
- run: flatpak remove --system --noninteractive --all
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
setup-distrobox:
source: yafti.screen.consent
values:
title: Setting up Distrobox
condition:
run: distrobox list | grep -v bazzite-arch
description: |
This will install an Arch distrobox configured for gaming. Steam and Lutris will then be exported. Please note that this may take a while after clicking accept.
actions:
- run: yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch && \
distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam' && \
distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris'
applications:
source: yafti.screen.package
values:
@ -140,7 +128,27 @@ screens:
- qBittorrent: org.qbittorrent.qBittorrent
- Syncthing: com.github.zocker_160.SyncThingy
- VLC: org.videolan.VLC
configure-bazzite:
source: yafti.screen.package
values:
title: Configure Bazzite
show_terminal: true
package_manager: yafti.plugin.run
groups:
Bazzite Arch Distrobox:
description: This will install an Arch distrobox configured for gaming. Steam and Lutris will then be exported.
default: true
condition:
run: distrobox list | grep -v bazzite-arch
packages:
- Install Bazzite Arch: yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch
- Export Steam: distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam'
- Export Lutris: distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris'
Memory Tuning:
description: Adjust ZRAM configuration
default: false
packages:
- Disable ZRAM: just zram-off
final-screen:
source: yafti.screen.title
values: