x.r: rename options

This commit is contained in:
makefu 2024-09-07 00:20:07 +02:00
parent 1b8095b821
commit 8066d10481
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -3,10 +3,10 @@
services.xserver.videoDrivers = [ "amdgpu" ];
#boot.initrd.kernelModules = [ "amdgpu" ];
#hardware.opengl.driSupport = true;
hardware.opengl.extraPackages = [ pkgs.amdvlk pkgs.rocm-opencl-icd pkgs.rocm-opencl-runtime ];
hardware.graphics.extraPackages = [ pkgs.amdvlk pkgs.rocm-opencl-icd pkgs.rocm-opencl-runtime ];
# For 32 bit applications
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
hardware.graphics.enable32Bit = true;
hardware.graphics.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
# is required for amd graphics support ( xorg wont boot otherwise )
users.groups.video = {};
users.groups.render = {};