mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: various things, particularly vr
This commit is contained in:
parent
e9b291078d
commit
7e70c182e5
24 changed files with 337 additions and 65 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue