amd-gpu: use amdvlk and opencl modules

This commit is contained in:
ooks-io 2025-01-29 17:26:31 +11:00
parent 377bd48ee5
commit c1a264e98e

View file

@ -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