From 9aa427626f17ffb7460b3a89a2b05df61170dfb4 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 8 Dec 2025 20:04:42 +0100 Subject: [PATCH] feat(wireplumber): disable suspension. --- hosts/skadi/configuration.nix | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index c85986d..ad81c6b 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -160,6 +160,44 @@ enable = true; support32Bit = true; }; + wireplumber.extraConfig = { + "51-disable-suspension" = { + "monitor.alsa.rules" = [ + { + matches = [ + { + node.name = "~alsa_input.*"; + } + { + node.name = "~alsa_output.*"; + } + ]; + actions = { + update-props = { + "session.suspend-timeout-seconds" = 0; + }; + }; + } + ]; + "monitor.bluez.rules" = [ + { + matches = [ + { + node.name = "~alsa_input.*"; + } + { + node.name = "~alsa_output.*"; + } + ]; + actions = { + update-props = { + "session.suspend-timeout-seconds" = 0; + }; + }; + } + ]; + }; + }; extraConfig = { pipewire."99-silent.bell.conf" = { "context.properties" = {