hardcode driver file path
This commit is contained in:
parent
a93cef27cc
commit
9d07038279
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ rec {
|
|||
package = config.hardware.nvidia.package;
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json;
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue