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