Add mkDefault to services.xserver.videoDrivers = [ "amdgpu" ];

This commit is contained in:
ChaosAttractor 2022-12-16 06:58:12 +08:00
parent 1f60672721
commit b35c93e8a2

View file

@ -2,7 +2,7 @@
{
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
services.xserver.videoDrivers = lib.mkDefault [ "amdgpu" ];
hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd