From 834d009f2e92b24f60dffd3357481cc76c5051ff Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan <y.bera003.06@protonmail.com> Date: Sat, 12 Dec 2020 17:53:48 +0300 Subject: [PATCH] nix: better instructions for nixGL --- nix/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nix/README.md b/nix/README.md index 26c9f800df..b5f8812859 100644 --- a/nix/README.md +++ b/nix/README.md @@ -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): ```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 -# For Nvidia: +## For Nvidia: +# Install it +nix-env -f https://github.com/guibou/nixGL/archive/master.tar.gz -iA nixGLNvidia 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