From 898febd83f521f5dfbee857869b5fbee89f408c1 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Wed, 11 Mar 2026 00:00:49 -0500 Subject: [PATCH] nixos/wivrn: remove defaultRuntime This option shouldn't exist for WiVRn as it manages the active runtime itself. It also causes apps that attempt to initialise OpenXR while WiVRn isn't running to hang. --- nixos/modules/services/video/wivrn.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nixos/modules/services/video/wivrn.nix b/nixos/modules/services/video/wivrn.nix index 1f67c871eb0e..0446e9e670d5 100644 --- a/nixos/modules/services/video/wivrn.nix +++ b/nixos/modules/services/video/wivrn.nix @@ -80,14 +80,6 @@ in openFirewall = mkEnableOption "the default ports in the firewall for the WiVRn server"; - defaultRuntime = mkEnableOption '' - WiVRn as the default OpenXR runtime on the system. - The config can be found at `/etc/xdg/openxr/1/active_runtime.json`. - - Note that applications can bypass this option by setting an active - runtime in a writable XDG_CONFIG_DIRS location like `~/.config` - ''; - autoStart = mkEnableOption "starting the service by default"; highPriority = mkEnableOption "high priority capability for asynchronous reprojection"; @@ -247,9 +239,6 @@ in PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES = "1"; }; pathsToLink = [ "/share/openxr" ]; - etc."xdg/openxr/1/active_runtime.json" = mkIf cfg.defaultRuntime { - source = "${cfg.package}/share/openxr/1/openxr_wivrn.json"; - }; }; }; meta.maintainers = with maintainers; [ passivelemon ];