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]
Description=The pc gaming platform
Description=The VoIP program targeted towards gaming.
# order startup after WM
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]
Description=The pc gaming platform
Description=The Kitty terminal emulator.
# order startup after WM
After=graphical-session.target

View File

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

View File

@@ -1,21 +1,26 @@
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
repos:
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:
packages:
# environment
@@ -31,8 +36,6 @@ modules:
- mediainfo
- playerctl
- alsa-firmware
# nofitications
- SwayNotificationCenter
# text editor
- neovim
# tools for evocation
@@ -66,8 +69,6 @@ modules:
- nautilus
- file-roller
- file-roller-nautilus
- nextcloud-client
- nextcloud-client-nautilus
# theme and GUI
- fontawesome-fonts-all
@@ -79,7 +80,6 @@ modules:
# software
- gnome-software
- gnome-software-rpm-ostree
# power
- powerstat
@@ -90,7 +90,22 @@ modules:
- firefox
- firefox-langpacks
- type: script
scripts:
- installproprietarypackages.sh
- type: dnf
repos:
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 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 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
scripts:
- nvidia/installtoolkitpolicy.sh