nixos: hardware.opengl -> hardware.graphics

This commit is contained in:
Alexandre Cavalheiro 2024-06-24 03:22:26 -03:00
parent 2ea6d797b4
commit a61557e3de
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -235,10 +235,9 @@
}; };
# Enable OpenGL. # Enable OpenGL.
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
driSupport = true; enable32Bit = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
rocm-opencl-icd # OpenGL hwa rocm-opencl-icd # OpenGL hwa
@ -298,6 +297,8 @@
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
}; };
# Enable and configure gamemode. # Enable and configure gamemode.