amd-gpu: use amdvlk and opencl modules
This commit is contained in:
parent
377bd48ee5
commit
c1a264e98e
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue