comment out nvidia glx library name and copy /etc/environment file

This commit is contained in:
Anders Rytter Hansen 2025-08-03 00:55:27 -03:00
commit 67ea698aea
2 changed files with 3 additions and 1 deletions

View file

@ -38,5 +38,7 @@ RUN systemctl disable nvidia-powerd
# Add rule to SELinux allowing modules to be loaded into custom kernel
RUN setsebool -P domain_kernel_load_modules on
COPY etc/environment /etc/environment
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
bootc container lint

View file

@ -5,7 +5,7 @@ QT_QPA_PLATFORM=wayland
# Nvidia:
#__NV_PRIME_RENDER_OFFLOAD=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
#__GLX_VENDOR_LIBRARY_NAME=nvidia
ELECTRON_OZONE_PLATFORM_HINT=wayland