Start creating base images

This commit is contained in:
2025-09-05 17:58:34 -04:00
parent 0c06a497f8
commit b99f776156
11 changed files with 287 additions and 38 deletions

18
recipes/common/nvidia.yml Normal file
View File

@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
modules:
- type: dnf
repos:
cleanup: true
nonfree: rpmfusion
install:
packages:
- akmod-nvidia
- type: script
snippets:
- echo "%_with_kmod_nvidia_open 1" > /etc/rpm/macros.nvidia-kmod
- akmods --kernels "$(rpm -q "kernel" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')" --rebuild
- type: files
files:
- source: nvidia-kargs
destination: /usr/lib/bootc/kargs.d