chore: hardware.opengl was deprecated

This commit is contained in:
arcnmx 2024-06-21 23:07:07 -07:00
parent 594605ea69
commit ab9e4b52d4
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ in {
hardware = { hardware = {
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
opengl = { graphics = {
extraPackages = [ extraPackages = [
pkgs.intel-media-driver pkgs.intel-media-driver
(mkIf opencl pkgs.intel-compute-runtime) (mkIf opencl pkgs.intel-compute-runtime)

View file

@ -74,7 +74,7 @@ in {
in [libraryDir]; in [libraryDir];
}; };
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
extraPackages = with pkgs; [mesa.drivers]; extraPackages = with pkgs; [mesa.drivers];
}; };