[Hardware/AMD/ROCm] enable rocmSupport when ROCm is enabled

This commit is contained in:
Antoine Viallon 2024-12-11 09:59:48 +01:00
parent 45fc51f646
commit 10cfa77319
No known key found for this signature in database
GPG key ID: 955188C241E23A20

View file

@ -83,6 +83,8 @@ in {
nix.settings.substituters = [ "https://nixos-rocm.cachix.org" ];
nix.settings.trusted-public-keys = [ "nixos-rocm.cachix.org-1:VEpsf7pRIijjd8csKjFNBGzkBqOmw8H9PRmgAq14LnE=" ];
nixpkgs.config.rocmSupport = true;
nixpkgs.overlays = [(final: prev: {
# Overlay Blender to use the HIP build if we have a compatible AMD GPU
blender = final.blender-hip;