Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 1 | { ... }: |
| 2 | { |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 3 | services.pipewire = { |
| 4 | enable = true; |
| 5 | alsa = { |
| 6 | enable = true; |
| 7 | support32Bit = true; |
| 8 | }; |
| 9 | pulse.enable = true; |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 10 | jack.enable = true; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 11 | }; |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 12 | |
| 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 Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 27 | } |