hwModules: migrate to new APIs

This commit is contained in:
Aly Raffauf 2024-10-01 11:36:49 -04:00
parent f70d12f1d7
commit 36d1dbce57
2 changed files with 11 additions and 7 deletions

View file

@ -1,14 +1,18 @@
{...}: { {...}: {
environment.variables.VDPAU_DRIVER = "radeonsi"; environment.variables.VDPAU_DRIVER = "radeonsi";
hardware.amdgpu = { hardware = {
initrd.enable = true; amdgpu = {
initrd.enable = true;
amdvlk = { amdvlk = {
enable = true; enable = true;
support32Bit.enable = true; support32Bit.enable = true;
};
opencl.enable = true;
}; };
opencl.enable = true; graphics.enable = true;
}; };
} }

View file

@ -9,7 +9,7 @@
hardware = { hardware = {
intel-gpu-tools.enable = true; intel-gpu-tools.enable = true;
opengl = { graphics = {
enable = true; enable = true;
extraPackages = [ extraPackages = [