From 10cfa773191ebdda3429008f645a271b1e003332 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Wed, 11 Dec 2024 09:59:48 +0100 Subject: [PATCH] [Hardware/AMD/ROCm] enable rocmSupport when ROCm is enabled --- hardware/amd/rocm.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hardware/amd/rocm.nix b/hardware/amd/rocm.nix index 8598270..60ef107 100644 --- a/hardware/amd/rocm.nix +++ b/hardware/amd/rocm.nix @@ -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;