From 3f7e9baeebab425f44caa19de37f004724c9c0fc Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 12 Jan 2024 11:35:08 +0100 Subject: nixos/monado: prevent Monado from restarting quickly Signed-off-by: Sefa Eyeoglu --- nixos/modules/services/hardware/monado.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/services/hardware') 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 ]; -- cgit 1.4.1