2024-05-04 23:15:57 +03:00
|
|
|
# AMD Rocm support (for Blender).
|
2024-03-20 22:54:40 +03:00
|
|
|
{ nixpkgs, pkgs, ... }: {
|
|
|
|
nixpkgs.config.rocmSupport = true;
|
|
|
|
systemd.tmpfiles.rules = [
|
|
|
|
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
|
|
|
|
];
|
|
|
|
hardware.opengl.extraPackages = with pkgs; [
|
|
|
|
rocmPackages.clr.icd
|
|
|
|
];
|
|
|
|
}
|