vr fix
This commit is contained in:
parent
8b40db5f6e
commit
6437bd375a
6
etcnixos/flake.lock
generated
6
etcnixos/flake.lock
generated
@ -34,11 +34,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742213066,
|
"lastModified": 1742229917,
|
||||||
"narHash": "sha256-zQHn+4moKz4XTf1qvGEi9eVABikPdnwFfOotqk9QMwE=",
|
"narHash": "sha256-ldvWOI1F90HBTvJBkF/09d8GLgWnIPlKpkNYotmu2wY=",
|
||||||
"owner": "chaotic-cx",
|
"owner": "chaotic-cx",
|
||||||
"repo": "nyx",
|
"repo": "nyx",
|
||||||
"rev": "be765082e305296cc99dc2f2ed031b1d10133233",
|
"rev": "5104a4c520e33bf59468875ab58d9ad37431a5bb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -5,11 +5,18 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
services.wivrn = {
|
services.wivrn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
||||||
package = pkgs.wivrn;
|
package = (
|
||||||
|
pkgs.wivrn.overrideAttrs (old: {
|
||||||
|
cmakeFlags = old.cmakeFlags ++ [
|
||||||
|
(lib.cmakeFeature "OPENCOMPOSITE_SEARCH_PATH" "${pkgs.opencomposite}/lib/opencomposite")
|
||||||
|
];
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
# Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
|
# Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
|
||||||
# will automatically read this and work with wivrn
|
# will automatically read this and work with wivrn
|
||||||
|
|||||||
12
home-manager/flake.lock
generated
12
home-manager/flake.lock
generated
@ -54,11 +54,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741955947,
|
"lastModified": 1742238842,
|
||||||
"narHash": "sha256-2lbURKclgKqBNm7hVRtWh0A7NrdsibD0EaWhahUVhhY=",
|
"narHash": "sha256-Z79yUJi+UGSpRC90NbHyuvBjGLkgEtlZaJ8DtzaGkzE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4e12151c9e014e2449e0beca2c0e9534b96a26b4",
|
"rev": "5a6e5a59a4d332edaa7d5d1604eb58ead27af851",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -242,11 +242,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742180312,
|
"lastModified": 1742239259,
|
||||||
"narHash": "sha256-67nyifSJu0TnXReokhA+pQhqswg0ZOp033k+QboSL8s=",
|
"narHash": "sha256-khFVyLv9bjmWS5wKxgRqR0T/8b+5YUcOKKQc8cSIaZs=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "4dd2f79d89dc0ebbb1b3ebf96776383cc6d6989a",
|
"rev": "047d2684da0cf2d1a1db02eece61c90ce9dda32b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
protontricks
|
protontricks
|
||||||
# beatsabermodmanager
|
beatsabermodmanager
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.alacritty.settings = {
|
programs.alacritty.settings = {
|
||||||
@ -26,25 +26,4 @@
|
|||||||
obs-pipewire-audio-capture
|
obs-pipewire-audio-capture
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://wiki.nixos.org/wiki/VR
|
|
||||||
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
|
||||||
{
|
|
||||||
"config" :
|
|
||||||
[
|
|
||||||
"${config.xdg.dataHome}/Steam/config"
|
|
||||||
],
|
|
||||||
"external_drivers" : null,
|
|
||||||
"jsonid" : "vrpathreg",
|
|
||||||
"log" :
|
|
||||||
[
|
|
||||||
"${config.xdg.dataHome}/Steam/logs"
|
|
||||||
],
|
|
||||||
"runtime" :
|
|
||||||
[
|
|
||||||
"${pkgs.opencomposite}/lib/opencomposite"
|
|
||||||
],
|
|
||||||
"version" : 1
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user