mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/AMD] do not set AMD_VULKAN_ICD if amdvlk is not used
This commit is contained in:
parent
9fdb2e2f4b
commit
66d9624e1e
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ in {
|
|||
];
|
||||
|
||||
environment.variables = {
|
||||
AMD_VULKAN_ICD = strings.toUpper cfg.defaultVulkanImplementation;
|
||||
AMD_VULKAN_ICD = mkIf (cfg.defaultVulkanImplementation == "amdvlk") (strings.toUpper cfg.defaultVulkanImplementation);
|
||||
ROC_ENABLE_PRE_VEGA = "1"; # Enable OpenCL with Polaris GPUs
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue