nixpkgs-suyu/nixos/modules/hardware/video/amdgpu.nix

10 lines
164 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
{
config = mkIf (elem "amdgpu" config.services.xserver.videoDrivers) {
boot.blacklistedKernelModules = [ "radeon" ];
};
}