pipewire: fix pipewire failing to start when offline
This commit is contained in:
parent
a9fba7556e
commit
700148e1ee
|
@ -1,9 +1,7 @@
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
# RNNoise is a noise supperssion neural network
|
|
||||||
# Here we use it as a plugin for pipewire to create a virtual microphone
|
|
||||||
config = {
|
config = {
|
||||||
home.file = {
|
xdg.configFile = {
|
||||||
".config/pipewire/pipewire.conf.d/99-rtp-sink.conf".text = ''
|
"pipewire/pipewire.conf.d/99-rtp-sink.conf".text = ''
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-rtp-sink
|
{ name = libpipewire-module-rtp-sink
|
||||||
args = {
|
args = {
|
||||||
|
@ -30,9 +28,14 @@
|
||||||
node.name = "rtp-sink"
|
node.name = "rtp-sink"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
flags = [ nofail ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
'';
|
'';
|
||||||
|
"systemd/user/pipewire.service.d/override.conf".text = ''
|
||||||
|
[Unit]
|
||||||
|
ExecStartPre=/usr/bin/env sleep 10s
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue