about summary refs log tree commit diff
path: root/nixos/modules/services/hardware/monado.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/monado.nix')
-rw-r--r--nixos/modules/services/hardware/monado.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/monado.nix b/nixos/modules/services/hardware/monado.nix
index 0fb822bb21e8..9f9c6c39a0b4 100644
--- a/nixos/modules/services/hardware/monado.nix
+++ b/nixos/modules/services/hardware/monado.nix
@@ -79,6 +79,9 @@ in
         socketConfig = {
           ListenStream = "%t/monado_comp_ipc";
           RemoveOnStop = true;
+
+          # If Monado crashes while starting up, we want to close incoming OpenXR connections
+          FlushPending = true;
         };
 
         restartTriggers = [ cfg.package ];