blob: bbc5af59b77223f11692a7ac19ac397280f7643b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
lib,
pkgs,
...
}:
{
imports = [ ../common/openxr.nix ];
# TODO(@Pandapip1): For the time being, Stardust doesn't like controllers rather than hand tracking
services.monado.enable = lib.mkForce false;
systemd.user.services.stardust-xr-server = {
wantedBy = [ "xdg-desktop-autostart.target" ];
# requires = [ "monado.service" ];
serviceConfig = {
Type = "notify";
NotifyAccess = "all";
ExecStart = "${lib.getExe pkgs.stardust-xr-server} -e ${pkgs.writeShellScript "notifyReady" "systemd-notify --ready"}";
};
environment.RUST_BACKTRACE = "full";
};
}
|