my-ostree-OS/install-nvidia.sh

5 lines
155 B
Bash
Raw Normal View History

2023-09-16 11:03:01 +02:00
#!/bin/sh
2023-11-02 08:43:56 +01:00
KERNEL_VERSION="$(rpm -q kernel-cachyos --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
2023-09-16 11:03:01 +02:00
rpm-ostree install /tmp/nvidia/*${KERNEL_VERSION}*.rpm