Compare commits
1 Commits
main
...
b6b7233adc
| Author | SHA1 | Date | |
|---|---|---|---|
| b6b7233adc |
30
.github/workflows/build-nvidia.yml
vendored
Normal file
30
.github/workflows/build-nvidia.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: bluebuild-nvidia
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allow manually triggering builds
|
||||||
|
jobs:
|
||||||
|
bluebuild:
|
||||||
|
name: Build Custom Image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
id-token: write
|
||||||
|
strategy:
|
||||||
|
fail-fast: false # stop GH from cancelling all matrix builds if one fails
|
||||||
|
matrix:
|
||||||
|
recipe:
|
||||||
|
# !! Add your recipes here
|
||||||
|
- recipe_nvidia.yml
|
||||||
|
steps:
|
||||||
|
# the build is fully handled by the reusable github action
|
||||||
|
- name: Build Custom Image
|
||||||
|
uses: blue-build/github-action@v1.8
|
||||||
|
with:
|
||||||
|
recipe: ${{ matrix.recipe }}
|
||||||
|
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
|
||||||
|
registry: 'git.hydrosaber.com'
|
||||||
|
registry_token: ${{ secrets.PACKAGE_BUILDER_TOKEN }}
|
||||||
|
pr_event_number: ${{ github.event.number }}
|
||||||
|
|
||||||
|
# enabled by default, disable if your image is small and you want faster builds
|
||||||
|
maximize_build_space: true
|
||||||
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -9,16 +9,16 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths-ignore: # don't rebuild if only documentation has changed
|
paths-ignore: # don't rebuild if only documentation has changed
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- ".github/workflows/build-nvidia.yml"
|
||||||
|
- "files/scripts/nvidia/**"
|
||||||
|
- "recipes/components/nvidia-module.yml"
|
||||||
|
- "recipes/recipe_nvidia.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch: # allow manually triggering builds
|
workflow_dispatch: # allow manually triggering builds
|
||||||
concurrency:
|
|
||||||
# only run one build at a time
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
jobs:
|
jobs:
|
||||||
bluebuild:
|
bluebuild:
|
||||||
name: Build Custom Image
|
name: Build Custom Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@@ -43,3 +43,4 @@ jobs:
|
|||||||
|
|
||||||
# enabled by default, disable if your image is small and you want faster builds
|
# enabled by default, disable if your image is small and you want faster builds
|
||||||
maximize_build_space: true
|
maximize_build_space: true
|
||||||
|
rechunk: true
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
|||||||
cosign.key
|
cosign.key
|
||||||
cosign.private
|
cosign.private
|
||||||
/Containerfile
|
/Containerfile
|
||||||
/.bluebuild-scripts_*
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-----BEGIN PUBLIC KEY-----
|
-----BEGIN PUBLIC KEY-----
|
||||||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDgbLqIZdNv3Lx7jEKq3l6UImgXi/
|
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzzK2nfqN5MlTqBitNsehDVnITGSF
|
||||||
MdQ51/79s4zfI2f4wQ8ran/sZO3y91hhsImytGqfSpNZmMV8T0rmOAAXkg==
|
r9FQRKI6dNDXRjlKgcMaa88Mb9FdfqFVHSPesN1mHz3/QfZIPG/s7mJAfw==
|
||||||
-----END PUBLIC KEY-----
|
-----END PUBLIC KEY-----
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ sed -i "s|^HOME_URL=.*|HOME_URL=\"$HOME_URL\"|" /usr/lib/os-release
|
|||||||
sed -i "s|^DOCUMENTATION_URL=.*|DOCUMENTATION_URL=\"$DOCUMENTATION_URL\"|" /usr/lib/os-release
|
sed -i "s|^DOCUMENTATION_URL=.*|DOCUMENTATION_URL=\"$DOCUMENTATION_URL\"|" /usr/lib/os-release
|
||||||
sed -i "s|^SUPPORT_URL=.*|SUPPORT_URL=\"$SUPPORT_URL\"|" /usr/lib/os-release
|
sed -i "s|^SUPPORT_URL=.*|SUPPORT_URL=\"$SUPPORT_URL\"|" /usr/lib/os-release
|
||||||
sed -i "s|^BUG_REPORT_URL=.*|BUG_REPORT_URL=\"$BUG_SUPPORT_URL\"|" /usr/lib/os-release
|
sed -i "s|^BUG_REPORT_URL=.*|BUG_REPORT_URL=\"$BUG_SUPPORT_URL\"|" /usr/lib/os-release
|
||||||
sed -i "s|^CPE_NAME=\"cpe:/o:fedoraproject:fedora|CPE_NAME=\"cpe:/o:linux:${IMAGE_PRETTY_NAME,}|" /usr/lib/os-release
|
sed -i "s|^CPE_NAME=\"cpe:/o:fedoraproject:fedora|CPE_NAME=\"cpe:/o:wayblue:${IMAGE_PRETTY_NAME,}|" /usr/lib/os-release
|
||||||
sed -i "s/^DEFAULT_HOSTNAME=.*/DEFAULT_HOSTNAME=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release
|
sed -i "s/^DEFAULT_HOSTNAME=.*/DEFAULT_HOSTNAME=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release
|
||||||
sed -i "s/^ID=fedora/ID=\"${IMAGE_LIKE,}\"\nID_LIKE=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release
|
sed -i "s/^ID=fedora/ID=\"${IMAGE_LIKE,}\"\nID_LIKE=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release
|
||||||
sed -i "/^REDHAT_BUGZILLA_PRODUCT=/d; /^REDHAT_BUGZILLA_PRODUCT_VERSION=/d; /^REDHAT_SUPPORT_PRODUCT=/d; /^REDHAT_SUPPORT_PRODUCT_VERSION=/d" /usr/lib/os-release
|
sed -i "/^REDHAT_BUGZILLA_PRODUCT=/d; /^REDHAT_BUGZILLA_PRODUCT_VERSION=/d; /^REDHAT_SUPPORT_PRODUCT=/d; /^REDHAT_SUPPORT_PRODUCT_VERSION=/d" /usr/lib/os-release
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -oue pipefail
|
|
||||||
|
|
||||||
QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
|
|
||||||
|
|
||||||
sudo akmods --kernels $QUALIFIED_KERNEL
|
|
||||||
16
files/scripts/install-xpadneo.sh
Normal file
16
files/scripts/install-xpadneo.sh
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
echo "INFO: grab kernel module"
|
||||||
|
KERNEL_VER=$(ls /lib/modules | head -n 1)
|
||||||
|
echo $KERNEL_VER
|
||||||
|
|
||||||
|
echo "INFO: grab xpad modules"
|
||||||
|
MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//')
|
||||||
|
echo $MODULE_VER
|
||||||
|
|
||||||
|
echo "INFO: build and install xpadneo"
|
||||||
|
sudo dkms build -m $MODULE_VER -k $KERNEL_VER
|
||||||
|
sudo dkms install -m $MODULE_VER -k $KERNEL_VER
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Tell build process to exit if there are any errors.
|
|
||||||
set -oue pipefail
|
|
||||||
|
|
||||||
echo "INFO: grab kernel module"
|
|
||||||
KERNEL_VER="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
|
|
||||||
echo $KERNEL_VER
|
|
||||||
|
|
||||||
echo "INFO: grab open razer modules"
|
|
||||||
RAZER_MODULE_VER=$(ls /usr/src | grep razer | sed -E 's/(.*)-/\1\//')
|
|
||||||
echo $RAZER_MODULE_VER
|
|
||||||
|
|
||||||
echo "INFO: build and install openrazer"
|
|
||||||
sudo dkms build -m $RAZER_MODULE_VER -k $KERNEL_VER
|
|
||||||
sudo dkms install -m $RAZER_MODULE_VER -k $KERNEL_VER
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Tell build process to exit if there are any errors.
|
|
||||||
set -oue pipefail
|
|
||||||
|
|
||||||
echo "INFO: grab kernel module"
|
|
||||||
KERNEL_VER="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
|
|
||||||
echo $KERNEL_VER
|
|
||||||
|
|
||||||
echo "INFO: grab xpad modules"
|
|
||||||
XPAD_MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//')
|
|
||||||
echo $XPAD_MODULE_VER
|
|
||||||
|
|
||||||
echo "INFO: build and install xpadneo"
|
|
||||||
sudo dkms build -m $XPAD_MODULE_VER -k $KERNEL_VER
|
|
||||||
sudo dkms install -m $XPAD_MODULE_VER -k $KERNEL_VER
|
|
||||||
6
files/scripts/nvidia/installtoolkitpolicy.sh
Normal file
6
files/scripts/nvidia/installtoolkitpolicy.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
semodule --verbose --install /usr/share/selinux/packages/nvidia-container.pp
|
||||||
10
files/scripts/nvidia/removeunusedrepos.sh
Normal file
10
files/scripts/nvidia/removeunusedrepos.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
rm -f /etc/yum.repos.d/negativo17-fedora-nvidia.repo
|
||||||
|
rm -f /etc/yum.repos.d/negativo17-fedora-multimedia.repo
|
||||||
|
rm -f /etc/yum.repos.d/eyecantcu-supergfxctl.repo
|
||||||
|
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo
|
||||||
|
rm -f /etc/yum.repos.d/nvidia-container-toolkit.repo
|
||||||
16
files/scripts/nvidia/setdrmvariables.sh
Normal file
16
files/scripts/nvidia/setdrmvariables.sh
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
|
||||||
|
echo '
|
||||||
|
|
||||||
|
# Nvidia modesetting support. Set to 0 or comment to disable kernel modesetting
|
||||||
|
# support. This must be disabled in case of SLI Mosaic.
|
||||||
|
|
||||||
|
options nvidia-drm modeset=1 fbdev=1
|
||||||
|
|
||||||
|
' > /usr/lib/modprobe.d/nvidia-modeset.conf
|
||||||
|
|
||||||
|
cp /usr/lib/modprobe.d/nvidia-modeset.conf /etc/modprobe.d/nvidia-modeset.conf
|
||||||
7
files/scripts/nvidia/setearlyloading.sh
Normal file
7
files/scripts/nvidia/setearlyloading.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
sed -i 's@omit_drivers@force_drivers@g' /usr/lib/dracut/dracut.conf.d/99-nvidia.conf
|
||||||
|
sed -i 's@ nvidia @ i915 amdgpu nvidia @g' /usr/lib/dracut/dracut.conf.d/99-nvidia.conf
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Obtained from wayblue project https://github.com/wayblueorg/wayblue/blob/live/files/scripts/regenerateinitramfs.sh
|
|
||||||
|
|
||||||
set -oue pipefail
|
|
||||||
|
|
||||||
QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
|
|
||||||
/usr/bin/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img"
|
|
||||||
chmod 0600 "/lib/modules/$QUALIFIED_KERNEL/initramfs.img"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<service>
|
|
||||||
<port port="12315" protocol="tcp"/>
|
|
||||||
</service>
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<service>
|
|
||||||
<port port="53317" protocol="tcp"/>
|
|
||||||
<port port="53317" protocol="udp"/>
|
|
||||||
</service>
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
nct6775
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
ntsync
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# monitors.conf
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=,preferred,auto,auto
|
||||||
2
files/system/sddm.conf.d/theme.conf
Normal file
2
files/system/sddm.conf.d/theme.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Theme]
|
||||||
|
Current=maldives
|
||||||
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 114 KiB |
@@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=A panel bar branched from AGS maintained by Hyprland devs.
|
Description=A panel bar branched from AGS maintained by Hyprland devs.
|
||||||
|
Documentation=man:waybar(5)
|
||||||
# order startup after WM
|
# order startup after WM
|
||||||
After=graphical-session.target
|
After=graphical-session.target
|
||||||
|
|
||||||
@@ -7,7 +8,7 @@ After=graphical-session.target
|
|||||||
Type=exec
|
Type=exec
|
||||||
# Repurpose XDG Autostart filtering
|
# Repurpose XDG Autostart filtering
|
||||||
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
|
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
|
||||||
ExecStart=/usr/bin/quickshell
|
ExecStart=/usr/bin/hyprpanel
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
Slice=app-graphical.slice
|
Slice=app-graphical.slice
|
||||||
|
|
||||||
@@ -1,3 +1,7 @@
|
|||||||
modules:
|
modules:
|
||||||
- type: chezmoi
|
- type: chezmoi
|
||||||
repository: "https://git.hydrosaber.com/eriq12/dotfiles"
|
repository: "https://git.hydrosaber.com/eriq12/dotfiles"
|
||||||
|
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- setupchezmoiskel.sh
|
||||||
14
recipes/components/default-flatpak.yml
Normal file
14
recipes/components/default-flatpak.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
modules:
|
||||||
|
- type: default-flatpaks
|
||||||
|
notify: true
|
||||||
|
system:
|
||||||
|
install:
|
||||||
|
- com.github.tchx84.Flatseal
|
||||||
|
- io.missioncenter.MissionCenter
|
||||||
|
- io.github.flattool.Ignition
|
||||||
|
- net.davidotek.pupgui2
|
||||||
|
- org.gnome.Loupe
|
||||||
|
user:
|
||||||
|
install:
|
||||||
|
- one.ablaze.floorp
|
||||||
|
- io.github.equicord.equibop
|
||||||
@@ -1,9 +1,148 @@
|
|||||||
modules:
|
modules:
|
||||||
- from-file: dnf/multimedia.yml
|
- type: dnf
|
||||||
- from-file: dnf/greeter.yml
|
repos:
|
||||||
- from-file: dnf/hyprland.yml
|
copr:
|
||||||
- from-file: dnf/environment.yml
|
- ublue-os/packages
|
||||||
- from-file: dnf/applications.yml
|
- solopasha/hyprland
|
||||||
- from-file: dnf/vr.yml
|
- peterwu/rendezvous
|
||||||
- from-file: dnf/themes.yml
|
nonfree: negativo17
|
||||||
- from-file: dnf/drivers.yml
|
install:
|
||||||
|
packages:
|
||||||
|
# sddm
|
||||||
|
- sddm
|
||||||
|
- sddm-themes
|
||||||
|
- qt5-qtgraphicaleffects
|
||||||
|
- qt5-qtquickcontrols2
|
||||||
|
- qt5-qtsvg
|
||||||
|
|
||||||
|
# password keeper
|
||||||
|
- kf6-kwallet
|
||||||
|
- kwalletmanager
|
||||||
|
- pam-kwallet
|
||||||
|
|
||||||
|
# hyprland
|
||||||
|
- hyprland-git
|
||||||
|
- hyprpanel
|
||||||
|
- hyprpolkitagent
|
||||||
|
- hyprshot
|
||||||
|
|
||||||
|
# ublue udev rules and signing
|
||||||
|
- ublue-os-udev-rules
|
||||||
|
- ublue-os-signing
|
||||||
|
|
||||||
|
# environment
|
||||||
|
# power profiles like
|
||||||
|
- tuned-ppd
|
||||||
|
# xwayland
|
||||||
|
- xorg-x11-server-Xwayland
|
||||||
|
# headset control
|
||||||
|
- headsetcontrol
|
||||||
|
# media related
|
||||||
|
- mediainfo
|
||||||
|
- playerctl
|
||||||
|
- alsa-firmware
|
||||||
|
# zip utilities
|
||||||
|
- p7zip
|
||||||
|
# qt libraries
|
||||||
|
- qt5-qtwayland
|
||||||
|
- qt6-qtwayland
|
||||||
|
# vulkan
|
||||||
|
- vulkan-tools
|
||||||
|
- vulkan-validation-layers
|
||||||
|
|
||||||
|
# polkit
|
||||||
|
- polkit
|
||||||
|
|
||||||
|
# sound
|
||||||
|
- wireplumber
|
||||||
|
- pipewire
|
||||||
|
- headsetcontrol
|
||||||
|
|
||||||
|
# networking
|
||||||
|
- bluez
|
||||||
|
- bluez-tools
|
||||||
|
- firewall-config
|
||||||
|
|
||||||
|
# power
|
||||||
|
- powerstat
|
||||||
|
|
||||||
|
# applications
|
||||||
|
# fuzzy finder
|
||||||
|
- fzf
|
||||||
|
|
||||||
|
# dmenu runner
|
||||||
|
- fuzzel
|
||||||
|
|
||||||
|
# file manager
|
||||||
|
- nautilus
|
||||||
|
- file-roller
|
||||||
|
- file-roller-nautilus
|
||||||
|
|
||||||
|
# text editor
|
||||||
|
- neovim
|
||||||
|
|
||||||
|
# software store
|
||||||
|
- gnome-software
|
||||||
|
|
||||||
|
# disk management
|
||||||
|
- gnome-disk-utility
|
||||||
|
|
||||||
|
# kdeconnect
|
||||||
|
- kde-connect
|
||||||
|
|
||||||
|
# settings apps
|
||||||
|
# qt
|
||||||
|
- qt5ct
|
||||||
|
- qt6ct
|
||||||
|
|
||||||
|
# gtk
|
||||||
|
- nwg-look
|
||||||
|
|
||||||
|
# Themes and fonts
|
||||||
|
# emoji fonts
|
||||||
|
- google-noto-emoji-fonts
|
||||||
|
|
||||||
|
# theme and GUI
|
||||||
|
- fontawesome-fonts-all
|
||||||
|
- gnome-themes-extra
|
||||||
|
- papirus-icon-theme
|
||||||
|
- bibata-cursor-themes
|
||||||
|
|
||||||
|
# zsh
|
||||||
|
- zsh
|
||||||
|
# zoxide for z stuff
|
||||||
|
- zoxide
|
||||||
|
|
||||||
|
# steam
|
||||||
|
- steam
|
||||||
|
# for game mode and big picture mode
|
||||||
|
- gamescope
|
||||||
|
# for performance view
|
||||||
|
- mangohud
|
||||||
|
# xpadneo
|
||||||
|
- dkms-xpadneo
|
||||||
|
|
||||||
|
remove:
|
||||||
|
packages:
|
||||||
|
# remove firefox
|
||||||
|
- firefox
|
||||||
|
- firefox-langpacks
|
||||||
|
|
||||||
|
replace:
|
||||||
|
- from-repo: fedora-multimedia
|
||||||
|
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
|
||||||
|
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- install-xpadneo.sh
|
||||||
16
recipes/components/nvidia-module.yml
Normal file
16
recipes/components/nvidia-module.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
modules:
|
||||||
|
- type: containerfile
|
||||||
|
snippets:
|
||||||
|
- COPY --from=ghcr.io/ublue-os/akmods-nvidia:main-42 /rpms/ /tmp/rpms
|
||||||
|
- RUN find /tmp/rpms
|
||||||
|
- 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-modprobe nvidia-persistenced nvidia-settings nvidia-container-toolkit
|
||||||
|
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- nvidia/installtoolkitpolicy.sh
|
||||||
|
- nvidia/removeunusedrepos.sh
|
||||||
|
- nvidia/setearlyloading.sh
|
||||||
|
- nvidia/setdrmvariables.sh
|
||||||
@@ -4,10 +4,9 @@ modules:
|
|||||||
enabled:
|
enabled:
|
||||||
- bootc-fetch-updates.timer
|
- bootc-fetch-updates.timer
|
||||||
- flatpak-system-update.timer
|
- flatpak-system-update.timer
|
||||||
- lactd.service
|
|
||||||
user:
|
user:
|
||||||
enabled:
|
enabled:
|
||||||
- flatpak-user-update.timer
|
- flatpak-user-update.timer
|
||||||
- quickshell.service
|
- swww.service
|
||||||
- hyprpolkitagent.service
|
- hyprpanel.service
|
||||||
- swww.service
|
- hyprpolkitagent.service
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
nonfree: rpmfusion
|
|
||||||
copr:
|
|
||||||
- ilyaz/LACT
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
# applications
|
|
||||||
# fuzzy finder
|
|
||||||
- fzf
|
|
||||||
|
|
||||||
# dmenu runner
|
|
||||||
- fuzzel
|
|
||||||
|
|
||||||
# file manager
|
|
||||||
- dolphin
|
|
||||||
- ark
|
|
||||||
|
|
||||||
- ffmpegthumbnailer
|
|
||||||
|
|
||||||
# music / video player
|
|
||||||
- vlc
|
|
||||||
|
|
||||||
# text editor
|
|
||||||
- neovim
|
|
||||||
|
|
||||||
# kdeconnect
|
|
||||||
- kde-connect
|
|
||||||
|
|
||||||
# settings apps
|
|
||||||
# qt
|
|
||||||
- qt5ct
|
|
||||||
- qt6ct
|
|
||||||
|
|
||||||
# gtk
|
|
||||||
- nwg-look
|
|
||||||
|
|
||||||
# software store
|
|
||||||
- gnome-software
|
|
||||||
|
|
||||||
# disk management
|
|
||||||
- gnome-disk-utility
|
|
||||||
|
|
||||||
# diagnostics
|
|
||||||
- qdirstat
|
|
||||||
|
|
||||||
- lact
|
|
||||||
|
|
||||||
- btop
|
|
||||||
|
|
||||||
# zsh
|
|
||||||
- zsh
|
|
||||||
# zoxide for z stuff
|
|
||||||
- zoxide
|
|
||||||
|
|
||||||
# steam
|
|
||||||
- steam
|
|
||||||
# for game mode and big picture mode
|
|
||||||
- gamescope
|
|
||||||
# for performance view
|
|
||||||
- mangohud
|
|
||||||
|
|
||||||
remove:
|
|
||||||
packages:
|
|
||||||
# remove firefox
|
|
||||||
- firefox
|
|
||||||
- firefox-langpacks
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
copr:
|
|
||||||
- atim/xpadneo
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
- xpadneo
|
|
||||||
|
|
||||||
- type: script
|
|
||||||
scripts:
|
|
||||||
- buildakmods.sh
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
copr:
|
|
||||||
- ublue-os/packages
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
# ublue udev rules and signing
|
|
||||||
- ublue-os-udev-rules
|
|
||||||
- ublue-os-signing
|
|
||||||
|
|
||||||
# environment
|
|
||||||
# xwayland
|
|
||||||
- xorg-x11-server-Xwayland
|
|
||||||
|
|
||||||
# headset control
|
|
||||||
- headsetcontrol
|
|
||||||
|
|
||||||
# media related
|
|
||||||
- mediainfo
|
|
||||||
- playerctl
|
|
||||||
- alsa-firmware
|
|
||||||
|
|
||||||
# zip utilities
|
|
||||||
- p7zip
|
|
||||||
|
|
||||||
# qt libraries
|
|
||||||
- qt5-qtwayland
|
|
||||||
- qt6-qtwayland
|
|
||||||
|
|
||||||
# vulkan
|
|
||||||
- vulkan-tools
|
|
||||||
- vulkan-validation-layers
|
|
||||||
|
|
||||||
# xdg-desktop-portals
|
|
||||||
- xdg-desktop-portal
|
|
||||||
- xdg-desktop-portal-gtk
|
|
||||||
- xdg-desktop-portal-kde
|
|
||||||
|
|
||||||
# polkit
|
|
||||||
- polkit
|
|
||||||
|
|
||||||
# sound
|
|
||||||
- wireplumber
|
|
||||||
- pipewire
|
|
||||||
- headsetcontrol
|
|
||||||
|
|
||||||
# networking
|
|
||||||
- network-manager-applet
|
|
||||||
- NetworkManager
|
|
||||||
- NetworkManager-bluetooth
|
|
||||||
- NetworkManager-wifi
|
|
||||||
- bluez
|
|
||||||
- bluez-tools
|
|
||||||
- firewall-config
|
|
||||||
|
|
||||||
# packages for steam script
|
|
||||||
- lsb_release
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
# sddm
|
|
||||||
- sddm
|
|
||||||
- sddm-themes
|
|
||||||
|
|
||||||
# added libraries for quickshell
|
|
||||||
- qt5-qtgraphicaleffects
|
|
||||||
- qt5-qtimageformats
|
|
||||||
- qt5-qtmultimedia
|
|
||||||
- qt6-qtquickcontrols2
|
|
||||||
- qt6-qtsvg
|
|
||||||
- qt6-qtimageformats
|
|
||||||
- qt6-qtmultimedia
|
|
||||||
- qt6-qt5compat
|
|
||||||
|
|
||||||
# added for editing quickshell (qmlls)
|
|
||||||
- qt5-qtdeclarative-devel
|
|
||||||
- qt6-qtdeclarative-devel
|
|
||||||
|
|
||||||
# password keeper
|
|
||||||
- kf6-kwallet
|
|
||||||
- kwalletmanager
|
|
||||||
- pam-kwallet
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
copr:
|
|
||||||
- solopasha/hyprland
|
|
||||||
- errornointernet/quickshell
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
- aquamarine
|
|
||||||
- hyprland-git
|
|
||||||
- hyprpolkitagent
|
|
||||||
- hyprshot
|
|
||||||
- hyprland-qt-support
|
|
||||||
- hyprland-qtutils
|
|
||||||
- xdg-desktop-portal-hyprland
|
|
||||||
- swww
|
|
||||||
- matugen
|
|
||||||
- wlogout
|
|
||||||
|
|
||||||
# quickshell
|
|
||||||
- quickshell-git
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
nonfree: rpmfusion
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
# other multimedia
|
|
||||||
- gstreamer1-plugin-libav
|
|
||||||
- gstreamer1-plugins-bad-free-extras
|
|
||||||
- gstreamer1-plugins-bad-freeworld
|
|
||||||
- gstreamer1-plugins-ugly
|
|
||||||
- gstreamer1-vaapi
|
|
||||||
|
|
||||||
remove:
|
|
||||||
packages:
|
|
||||||
# old codecs
|
|
||||||
- fdk-aac-free
|
|
||||||
- libavcodec-free
|
|
||||||
- libavdevice-free
|
|
||||||
- libavfilter-free
|
|
||||||
- libavformat-free
|
|
||||||
- libavutil-free
|
|
||||||
- libpostproc-free
|
|
||||||
- libswresample-free
|
|
||||||
- libswscale-free
|
|
||||||
- ffmpeg-free
|
|
||||||
|
|
||||||
replace:
|
|
||||||
- from-repo: rpmfusion-free-updates
|
|
||||||
packages:
|
|
||||||
- old: mesa-va-drivers
|
|
||||||
new: mesa-va-drivers-freeworld
|
|
||||||
|
|
||||||
- type: dnf
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
- ffmpeg
|
|
||||||
- mesa-vdpau-drivers-freeworld
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
repos:
|
|
||||||
copr:
|
|
||||||
- peterwu/rendezvous
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
# Themes and fonts
|
|
||||||
# emoji fonts
|
|
||||||
- google-noto-emoji-fonts
|
|
||||||
|
|
||||||
# theme and GUI
|
|
||||||
- fontawesome-fonts-all
|
|
||||||
- gnome-themes-extra
|
|
||||||
- papirus-icon-theme
|
|
||||||
- bibata-cursor-themes
|
|
||||||
- material-icons-fonts
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
modules:
|
|
||||||
- type: dnf
|
|
||||||
install:
|
|
||||||
packages:
|
|
||||||
# monado
|
|
||||||
- eigen3-devel
|
|
||||||
- glslang-devel
|
|
||||||
- glslc
|
|
||||||
- libbsd-devel
|
|
||||||
- libdrm-devel
|
|
||||||
- libusb1
|
|
||||||
- libusb1-devel
|
|
||||||
- libXrandr-devel
|
|
||||||
- mesa-libGL-devel
|
|
||||||
- ninja-build
|
|
||||||
- openxr-devel
|
|
||||||
- SDL2-devel
|
|
||||||
- wayland-devel
|
|
||||||
- wayland-protocols-devel
|
|
||||||
# wayvr dashboard
|
|
||||||
- webkit2gtk4.1
|
|
||||||
@@ -16,6 +16,7 @@ modules:
|
|||||||
- from-file: components/script-module.yml
|
- from-file: components/script-module.yml
|
||||||
- from-file: components/sys-files-module.yml
|
- from-file: components/sys-files-module.yml
|
||||||
- from-file: components/systemd-module.yml
|
- from-file: components/systemd-module.yml
|
||||||
|
- from-file: components/default-flatpak.yml
|
||||||
- from-file: components/chezmoi-module.yml
|
- from-file: components/chezmoi-module.yml
|
||||||
|
|
||||||
- type: signing
|
- type: signing
|
||||||
|
|||||||
25
recipes/recipe_nvidia.yml
Normal file
25
recipes/recipe_nvidia.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||||
|
# image will be published to ghcr.io/<user>/<name>
|
||||||
|
name: hydro-os-nvidia
|
||||||
|
# description will be included in the image's metadata
|
||||||
|
description: This is my personal OS image.
|
||||||
|
|
||||||
|
# the base image to build on top of (FROM) and the version tag to use
|
||||||
|
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||||
|
image-version: 42 # 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: components/dnf-module.yml
|
||||||
|
- from-file: components/script-module.yml
|
||||||
|
- from-file: components/sys-files-module.yml
|
||||||
|
- from-file: components/systemd-module.yml
|
||||||
|
- from-file: components/nvidia-module.yml
|
||||||
|
- from-file: components/default-flatpak.yml
|
||||||
|
- from-file: components/chezmoi-module.yml
|
||||||
|
- type: initramfs
|
||||||
|
|
||||||
|
- type: signing
|
||||||
|
|
||||||
Reference in New Issue
Block a user