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