blob: 0c1bfcd2b78ca73c04c2525a17c07557f5f8846e [file] [log] [blame]
Skyler Grey4e230892024-02-13 22:58:46 +00001{ ... }:
2{
Skyler Greya0da6b22024-02-11 22:53:41 +00003 services.pipewire = {
4 enable = true;
5 alsa = {
6 enable = true;
7 support32Bit = true;
8 };
9 pulse.enable = true;
Skyler Grey4e230892024-02-13 22:58:46 +000010 jack.enable = true;
Skyler Greya0da6b22024-02-11 22:53:41 +000011 };
Skyler Grey4e230892024-02-13 22:58:46 +000012
13 environment.etc."pipewire/pipewire.conf.d/VirtualAudioDevice.conf".text = ''
14 context.objects = [
15 {
16 factory = adapter
17 args = {
18 factory.name = support.null-audio-sink
19 node.name = Microphone-Proxy
20 node.description = Microphone
21 media.class = Audio/Source/Virtual
22 audio.posistion = MONO
23 }
24 }
25 ]
26 '';
Skyler Greya0da6b22024-02-11 22:53:41 +000027}