nixos/monado: prevent Monado from restarting quickly

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

Changed files
+3
nixos
modules
services
hardware
+3
nixos/modules/services/hardware/monado.nix
···
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 ];