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;
|
inherit (builtins) attrValues;
|
||||||
in {
|
in {
|
||||||
config = mkIf (gpu.type == "amd") {
|
config = mkIf (gpu.type == "amd") {
|
||||||
|
hardware.amdgpu = {
|
||||||
|
amdvlk = {
|
||||||
|
enable = true;
|
||||||
|
support32Bit.enable = true;
|
||||||
|
};
|
||||||
|
opencl.enable = true;
|
||||||
|
};
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
extraPackages = attrValues {
|
extraPackages = attrValues {
|
||||||
inherit
|
inherit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue