Installing Nix on Crostini: Difference between revisions
imported>Benley m Benley moved page Installing on Crostini to Installing Nix on Crostini: This isn't instructions for installing nixos, just nix itself. New title should be less confusing. |
imported>Thiagokokada Add nixGL instructions |
||
Line 2: | Line 2: | ||
Once you have Nix installed, there are a few things that need to be done. | Once you have Nix installed, there are a few things that need to be done. | ||
== Home-Manager == | == Home-Manager == | ||
Line 39: | Line 38: | ||
Note: These instructions were adapted from the following post [https://www.reddit.com/r/Crostini/comments/9lazhn/environment_variables_for_launcher_applications/e769u4y/ on Reddit] | Note: These instructions were adapted from the following post [https://www.reddit.com/r/Crostini/comments/9lazhn/environment_variables_for_launcher_applications/e769u4y/ on Reddit] | ||
== Graphical applications == | |||
Thanks to the usage of VirtGL as the GPU driver, you can easily run applications that depend on OpenGL/Vulkan by using [https://github.com/nix-community/nixGL NixGL]: | |||
<code> | |||
nix run --impure github:guibou/nixGL -- program | |||
</code> |