1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

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