mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardware/AMD/ROCm] enable rocmSupport when ROCm is enabled
This commit is contained in:
parent
45fc51f646
commit
10cfa77319
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ in {
|
||||||
nix.settings.substituters = [ "https://nixos-rocm.cachix.org" ];
|
nix.settings.substituters = [ "https://nixos-rocm.cachix.org" ];
|
||||||
nix.settings.trusted-public-keys = [ "nixos-rocm.cachix.org-1:VEpsf7pRIijjd8csKjFNBGzkBqOmw8H9PRmgAq14LnE=" ];
|
nix.settings.trusted-public-keys = [ "nixos-rocm.cachix.org-1:VEpsf7pRIijjd8csKjFNBGzkBqOmw8H9PRmgAq14LnE=" ];
|
||||||
|
|
||||||
|
nixpkgs.config.rocmSupport = true;
|
||||||
|
|
||||||
nixpkgs.overlays = [(final: prev: {
|
nixpkgs.overlays = [(final: prev: {
|
||||||
# Overlay Blender to use the HIP build if we have a compatible AMD GPU
|
# Overlay Blender to use the HIP build if we have a compatible AMD GPU
|
||||||
blender = final.blender-hip;
|
blender = final.blender-hip;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue