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