refactor: use newer option hardware.graphics instead of hardware.opengl

This commit is contained in:
Guz
2025-02-05 17:04:57 -03:00
parent 39dc2b44d4
commit eca253b7c9
2 changed files with 4 additions and 4 deletions

View File

@@ -14,8 +14,8 @@
boot.kernelModules = ["amdgpu"];
boot.initrd.kernelModules = ["amdgpu"];
hardware.opengl.enable = true;
hardware.opengl.extraPackages = with pkgs; [
hardware.graphics.enable = true;
hardware.graphics.extraPackages = with pkgs; [
amdvlk
rocmPackages.clr.icd
vaapiVdpau

View File

@@ -20,8 +20,8 @@
});
# Enable OpenGL
hardware.opengl.enable = true;
hardware.opengl.extraPackages = with pkgs; [
hardware.graphics.enable = true;
hardware.graphics.extraPackages = with pkgs; [
onevpl-intel-gpu
];