Try to disable sound cards auto suspend
This commit is contained in:
@@ -100,7 +100,22 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
wireplumber.enable = true;
|
wireplumber = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig."99-disable-suspend" = {
|
||||||
|
"monitor.alsa.rules" = [
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{ "node.name" = "~alsa_input.*"; }
|
||||||
|
{ "node.name" = "~alsa_output.*"; }
|
||||||
|
];
|
||||||
|
actions.update-props = {
|
||||||
|
"session.suspend-timeout-seconds" = 0;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user