mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/AMD+Cachix] use ROCm cache only if AMD GPU hardware is enabled
This commit is contained in:
parent
937225bbfb
commit
81aa383877
1 changed files with 3 additions and 0 deletions
|
|
@ -63,6 +63,9 @@ in {
|
|||
"/dev/dri/renderD128?"
|
||||
];
|
||||
|
||||
nix.settings.substituters = [ "https://nixos-rocm.cachix.org" ];
|
||||
nix.settings.trusted-public-keys = [ "nixos-rocm.cachix.org-1:VEpsf7pRIijjd8csKjFNBGzkBqOmw8H9PRmgAq14LnE=" ];
|
||||
|
||||
nixpkgs.overlays = [(final: prev: {
|
||||
# Overlay Blender to use the HIP build if we have a compatible AMD GPU
|
||||
blender = final.blender-hip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue