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,7 +1,8 @@
{...}: {
environment.variables.VDPAU_DRIVER = "radeonsi";
hardware.amdgpu = {
hardware = {
amdgpu = {
initrd.enable = true;
amdvlk = {
@ -11,4 +12,7 @@
opencl.enable = true;
};
graphics.enable = true;
};
}

View file

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