Ideas for setting up vanilla Fedora for gaming
So I’ve setup regular Fedora KDE Plasma for gaming on my machine, with several third-party repos to install the graphics drivers, gaming, and multimedia stuff. I’m also running the Bazzite kernel.
Instead of making a justfile, I think it would be better if I wrote up a blog post on how to get this setup on a vanilla Fedora. This way, people reading it are in full control of all the commands that need to run, the repositories that need to be configured, and the Bazzite kernel to install.
The tricky part, and a problem for me to solve, is keeping the Bazzite kernel up to date with each new release. I figure I can host a public yum repository to store the packages. I can write a script that does the following:
- The current kernel version number will be stored in a file, e.g.,
/etc/current_kernel_versionon the yum repo host machine. - Check for the latest kernel version in the bazzite-org/kernel-bazzite releases.
- Compare this version to the current.
- If it’s newer, download the newer kernels from the bazzite-org/kernel-bazzite repo releases and move them into the yum repo.
Then when a new release is available, it can be upgraded to with dnf update. I have to figure out a way to make it so that it is prioritized over the upstream Fedora kernel.