diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2024-01-12 11:35:08 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2024-02-23 14:25:16 +0100 |
commit | 3f7e9baeebab425f44caa19de37f004724c9c0fc (patch) | |
tree | c2400367d57573532a94dfcdd9902ff1f8ab1e99 /nixos/modules/services/hardware | |
parent | 0e585a63e2f2ae03d658d41ab99cd41c0b0de9c1 (diff) | |
download | nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.tar nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.tar.gz nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.tar.bz2 nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.tar.lz nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.tar.xz nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.tar.zst nixlib-3f7e9baeebab425f44caa19de37f004724c9c0fc.zip |
nixos/monado: prevent Monado from restarting quickly
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r-- | nixos/modules/services/hardware/monado.nix | 3 |
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 ]; |