cleanup #5

Merged
eriq12 merged 21 commits from cleanup into main 2025-05-31 12:59:56 -04:00
8 changed files with 42 additions and 79 deletions

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
systemctl enable rpm-ostreed-automatic.timer
systemctl enable podman-auto-update.timer
systemctl --global enable podman-auto-update.timer
systemctl --global enable flatpak-user-update.timer
systemctl enable flatpak-system-update.timer

View File

@@ -1,25 +0,0 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
curl -Lo /etc/yum.repos.d/negativo17-fedora-multimedia.repo https://negativo17.org/repos/fedora-multimedia.repo
sed -i '0,/enabled=1/{s/enabled=1/enabled=1\npriority=90/}' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
rpm-ostree override replace \
--experimental \
--from repo='fedora-multimedia' \
libheif \
libva \
libva-intel-media-driver \
mesa-dri-drivers \
mesa-filesystem \
mesa-libEGL \
mesa-libGL \
mesa-libgbm \
mesa-libxatracker \
mesa-va-drivers \
mesa-vulkan-drivers \
gstreamer1-plugin-libav \
gstreamer1-plugin-vaapi \
rar

View File

@@ -1,5 +1,5 @@
[Unit] [Unit]
Description=The pc gaming platform Description=The VoIP program targeted towards gaming.
# order startup after WM # order startup after WM
After=graphical-session.target After=graphical-session.target

View File

@@ -1,17 +0,0 @@
[Unit]
Description=The pc gaming platform
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/flatpak run one.ablaze.floorp
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
# Alternatively can be wanted by specific WMs' targets
# Should also be duplicated in 'After=' to avoid ordering loop
#WantedBy=wayland-session@hyprland.desktop.target

View File

@@ -1,5 +1,5 @@
[Unit] [Unit]
Description=The pc gaming platform Description=The Kitty terminal emulator.
# order startup after WM # order startup after WM
After=graphical-session.target After=graphical-session.target

View File

@@ -5,6 +5,5 @@ modules:
- hyprpanel.service - hyprpanel.service
- hyprpolkitagent.service - hyprpolkitagent.service
- discord.service - discord.service
- floorp.service
- steam.service - steam.service
- terminal.service - terminal.service

View File

@@ -1,21 +1,26 @@
modules: modules:
- type: containerfile
snippets:
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-udev-rules.noarch.rpm /
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-update-services.noarch.rpm /
- COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-signing.noarch.rpm /
- RUN rpm -ivh /ublue-os-udev-rules.noarch.rpm
- RUN rpm -ivh /ublue-os-update-services.noarch.rpm
- RUN rpm -ivh /ublue-os-signing.noarch.rpm
- type: script
scripts:
- enableautoupdates.sh # using systemd did not work, so using this script instead
- type: dnf - type: dnf
repos: repos:
copr: copr:
- erikreider/SwayNotificationCenter - ublue-os/packages
install:
packages:
- ublue-os-udev-rules
- ublue-os-update-services
- ublue-os-signing
- type: systemd
system:
enabled:
- rpm-ostreed-automatic.timer
- podman-auto-update.timer
- flatpak-system-update.timer
user:
enabled:
- podman-auto-update.timer
- flatpak-user-update.timer
- type: dnf
install: install:
packages: packages:
# environment # environment
@@ -31,8 +36,6 @@ modules:
- mediainfo - mediainfo
- playerctl - playerctl
- alsa-firmware - alsa-firmware
# nofitications
- SwayNotificationCenter
# text editor # text editor
- neovim - neovim
# tools for evocation # tools for evocation
@@ -66,8 +69,6 @@ modules:
- nautilus - nautilus
- file-roller - file-roller
- file-roller-nautilus - file-roller-nautilus
- nextcloud-client
- nextcloud-client-nautilus
# theme and GUI # theme and GUI
- fontawesome-fonts-all - fontawesome-fonts-all
@@ -79,7 +80,6 @@ modules:
# software # software
- gnome-software - gnome-software
- gnome-software-rpm-ostree
# power # power
- powerstat - powerstat
@@ -90,7 +90,22 @@ modules:
- firefox - firefox
- firefox-langpacks - firefox-langpacks
- type: script - type: dnf
scripts: repos:
- installproprietarypackages.sh nonfree: rpmfusion
replace:
- from-repo: rpmfusion-nonfree
packages:
- libheif
- libva
- libva-intel-media-driver
- mesa-dri-drivers
- mesa-filesystem
- mesa-libEGL
- mesa-libGL
- mesa-libgbm
- mesa-va-drivers
- mesa-vulkan-drivers
- gstreamer1-plugin-libav

View File

@@ -6,7 +6,8 @@ modules:
- RUN rpm-ostree install /tmp/rpms/ublue-os/ublue-os-nvidia*.rpm - RUN rpm-ostree install /tmp/rpms/ublue-os/ublue-os-nvidia*.rpm
- RUN sed -i '0,/enabled=0/{s/enabled=0/enabled=1/}' /etc/yum.repos.d/nvidia-container-toolkit.repo - RUN sed -i '0,/enabled=0/{s/enabled=0/enabled=1/}' /etc/yum.repos.d/nvidia-container-toolkit.repo
- RUN sed -i '0,/enabled=0/{s/enabled=0/enabled=1\npriority=90/}' /etc/yum.repos.d/negativo17-fedora-nvidia.repo - RUN sed -i '0,/enabled=0/{s/enabled=0/enabled=1\npriority=90/}' /etc/yum.repos.d/negativo17-fedora-nvidia.repo
- RUN rpm-ostree install /tmp/rpms/kmods/kmod-nvidia*.rpm libnvidia-fbc libva-nvidia-driver nvidia-driver nvidia-driver-cuda nvidia-modprobe nvidia-persistenced nvidia-settings nvidia-container-toolkit - RUN rpm-ostree install /tmp/rpms/kmods/kmod-nvidia*.rpm libnvidia-fbc libva-nvidia-driver nvidia-driver nvidia-modprobe nvidia-persistenced nvidia-settings nvidia-container-toolkit
- type: script - type: script
scripts: scripts:
- nvidia/installtoolkitpolicy.sh - nvidia/installtoolkitpolicy.sh