1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-26 14:38:31 +02: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