diff --git a/.config/linux/system/module/AmdGpu.nix b/.config/linux/system/module/AmdGpu.nix index 095531d..a181abb 100644 --- a/.config/linux/system/module/AmdGpu.nix +++ b/.config/linux/system/module/AmdGpu.nix @@ -1,8 +1,10 @@ -{ pkgs, ... }: { +{ pkgs, environment, ... }: { boot.initrd.kernelModules = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ]; hardware.opengl.driSupport = true; hardware.opengl.driSupport32Bit = true; + environment.variables.AMD_VULKAN_ICD = "RADV"; + # AMDVLK was broken for me (huge stuttering). So keep it disabled, at least for now. # hardware.opengl.extraPackages = with pkgs; [ # amdvlk # ];