nixos: hardware.opengl -> hardware.graphics
This commit is contained in:
parent
2ea6d797b4
commit
a61557e3de
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue