chore(nvidia): Restore X11 session due to Firefox issue

This commit is contained in:
Kyle Gospodnetich 2024-06-30 00:01:16 -07:00
parent 97f4ef8dc3
commit e028fddca9

View File

@ -781,10 +781,15 @@ ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
COPY system_files/nvidia/shared system_files/nvidia/${BASE_IMAGE_NAME} /
# Remove everything that doesn't work well with NVIDIA
# Install X11 session (Remove me for Fedora 41)
RUN rpm-ostree override remove \
rocm-hip \
rocm-opencl \
rocm-clinfo && \
if [[ "${BASE_IMAGE_NAME}" == "kinoite" ]]; then \
rpm-ostree install \
plasma-workspace-x11 \
; fi && \
ostree container commit
# Install NVIDIA driver