amd hardware updates
This commit is contained in:
@@ -49,14 +49,11 @@
|
|||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
hardware.graphics = with pkgs; {
|
hardware.graphics = {
|
||||||
## amdvlk: an open-source Vulkan driver from AMD
|
enable = true;
|
||||||
extraPackages = [
|
|
||||||
amdvlk
|
|
||||||
rocmPackages.clr.icd
|
|
||||||
];
|
|
||||||
extraPackages32 = [ driversi686Linux.amdvlk ];
|
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
|
extraPackages = [ pkgs.rocmPackages.clr.icd ];
|
||||||
};
|
};
|
||||||
|
environment.variables.AMD_VULKAN_ICD = "RADV";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user