Skip to content

Commit c581b3d

Browse files
committed
fix audio disconnect problem in cs2?
1 parent 69d1e75 commit c581b3d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

desktop/configuration/services.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55

66
{
77
services = {
8+
pipewire.wireplumber.extraConfig = {
9+
"10-disable-suspend" = {
10+
"monitor.alsa.rules" = [
11+
{
12+
matches = [{ "node.name" = "~alsa_output.*"; } { "node.name" = "~alsa_input.*"; }];
13+
actions = {
14+
update-props = {
15+
"session.suspend-timeout-seconds" = 0;
16+
};
17+
};
18+
}
19+
];
20+
};
21+
};
822
iperf3 = {
923
enable = true;
1024
openFirewall = true;

0 commit comments

Comments
 (0)