{pkgs, ...}: { hardware = { graphics = { enable = true; extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk ]; extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ]; }; }; boot.initrd.kernelModules = ["amdgpu"]; }