nix: better instructions for nixGL

This commit is contained in:
Yusuf Bera Ertan 2020-12-12 17:53:48 +03:00
parent 23d1abc8a6
commit c5a7db06fb
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -108,10 +108,18 @@ nix-env -f nix/default.nix -i
You'll need to use [nixGL](https://github.com/guibou/nixGL) to be able to run the game (after installing it): You'll need to use [nixGL](https://github.com/guibou/nixGL) to be able to run the game (after installing it):
```shell ```shell
# For Intel and AMD: ## For Intel and AMD:
# Install it (sadly no flake yet)
nix-env -f https://github.com/guibou/nixGL/archive/master.tar.gz -iA nixGLIntel
nixGLIntel veloren-voxygen nixGLIntel veloren-voxygen
# For Nvidia: ## For Nvidia:
# Install it
nix-env -f https://github.com/guibou/nixGL/archive/master.tar.gz -iA nixGLNvidia
nixGLNvidia veloren-voxygen nixGLNvidia veloren-voxygen
## For Nvidia driver on hybrid hardware:
# Install it
nix-env -f https://github.com/guibou/nixGL/archive/master.tar.gz -iA nixGLNvidiaBumblebee
nixGLNvidiaBumblebee veloren-voxygen
``` ```
## Usage for developers ## Usage for developers