feat: various things, particularly vr

This commit is contained in:
Kat Inskip 2025-11-11 22:28:30 -08:00
parent e9b291078d
commit 7e70c182e5
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
24 changed files with 337 additions and 65 deletions

View file

@ -1,8 +1,27 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
services.wivrn = {
enable = true;
openFirewall = true;
package = pkgs.wivrn.override {cudaSupport = true;};
package = pkgs.wivrn.overrideAttrs (old: rec {
cudaSupport = true;
version = "84e5203be3019278925ac03708567f2982360f8a";
src = pkgs.fetchFromGitHub {
owner = "notpeelz";
repo = "WiVRn";
rev = version;
# This will throw an error when evaluating and give you the correct hash - put that here
hash = "sha256-2s3j6vRtIRf6x+lQPobcuT1vzlCh1lMA54EUiCnxoFI=";
};
cmakeFlags =
old.cmakeFlags
++ [
(lib.cmakeBool "WIVRN_FEATURE_SOLARXR" true)
];
});
defaultRuntime = true;
config = {
enable = true;