From c1a264e98eb5c5ba1f2ab6d3fcffac87ce22a293 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Wed, 29 Jan 2025 17:26:31 +1100 Subject: [PATCH] amd-gpu: use amdvlk and opencl modules --- modules/nixos/hardware/gpu/amd.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/nixos/hardware/gpu/amd.nix b/modules/nixos/hardware/gpu/amd.nix index 4c39252..64eb1fc 100644 --- a/modules/nixos/hardware/gpu/amd.nix +++ b/modules/nixos/hardware/gpu/amd.nix @@ -9,6 +9,13 @@ inherit (builtins) attrValues; in { config = mkIf (gpu.type == "amd") { + hardware.amdgpu = { + amdvlk = { + enable = true; + support32Bit.enable = true; + }; + opencl.enable = true; + }; hardware.graphics = { extraPackages = attrValues { inherit