From 6d8a7df95f53ef33691f70759489bd7e961a9973 Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 15 Oct 2025 08:52:08 +0100 Subject: refactor: some "small" changes --- posts/2025-06-20-vr-plus-nixos-plus-nvidia.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'posts') diff --git a/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md b/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md index 3c6b90e..88fd45c 100644 --- a/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md +++ b/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md @@ -2,6 +2,15 @@ title: VR + NixOS + Nvidia --- +## ⚠️ Note + +This post is quite outdated now. +The 'prerequisites' section is still quite accurate, as you still need the proprietary drivers, however setting WiVRn +up is significantly easier. I recommend looking at the [Linux VR Adventures Wiki](https://lvra.gitlab.io/docs/distros/nixos/) +for a much better guide. + +## Introduction + For the longest time, getting VR working nicely with Linux (and especially NixOS) was a monumental task. Nowadays however, it is easier than ever: only requiring a handful of lines of Nix! @@ -91,7 +100,11 @@ We are using `osConfig` in this case, as to use the same package we use when ena Going back to our main configuration, we now need to tell the game to actually use these settings. -We can do this by setting our game launch options to `PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/wivrn/comp_ipc %command%`, however that isn't very "Nix", is it? +We can do this by setting our game launch options to... +```sh +PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/wivrn/comp_ipc %command% +``` +...however, that isn't very "Nix", is it? To do this for _every_ game, we can override our steam package to include this environment variable. ```nix -- cgit v1.3.1