aurora/build_files/nvidia.sh

11 lines
323 B
Bash
Executable file

#!/usr/bin/bash
set -ouex pipefail
# Nvidia Configurations
if [[ "${IMAGE_FLAVOR}" =~ "nvidia" || "${NVIDIA_TYPE}" =~ "nvidia" ]]; then
# Restore x11 for Nvidia Images
if [[ "${BASE_IMAGE_NAME}" =~ "kinoite" && "${FEDORA_MAJOR_VERSION}" -gt "39" ]]; then
rpm-ostree install plasma-workspace-x11
fi
fi