nixos-config/modules/systems/amdgpu.nix

16 lines
249 B
Nix

{
flake.modules.nixos.amdgpu =
{ ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
};
environment = {
variables = {
AMD_VULKAN_ICD = "RADV";
};
};
};
}