my-ostree-OS/install-nvidia.sh
2023-09-16 12:35:01 +02:00

5 lines
166 B
Bash
Executable file

#!/bin/sh
KERNEL_VERSION="$(rpm -q kernel-cachyos-bore-eevdf --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
rpm-ostree install /tmp/nvidia/*${KERNEL_VERSION}*.rpm