{ pkgs, ... }: { boot.initrd.kernelModules = [ "amdgpu" ]; hardware.opengl.driSupport32Bit = true; hardware.opengl.extraPackages = with pkgs; [ amdvlk ]; hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ]; programs.gamemode.enable = true; }