Samuel Shuert | 80c2dd4 | 2023-12-01 22:03:34 -0500 | [diff] [blame^] | 1 | { config, pkgs, lib, inputs, ... }: { |
Samuel Shuert | f1d6e99 | 2023-11-24 17:28:33 -0500 | [diff] [blame] | 2 | sound.enable = true; |
| 3 | hardware.pulseaudio.enable = false; |
| 4 | security.rtkit.enable = true; |
Samuel Shuert | 80c2dd4 | 2023-12-01 22:03:34 -0500 | [diff] [blame^] | 5 | |
Samuel Shuert | f1d6e99 | 2023-11-24 17:28:33 -0500 | [diff] [blame] | 6 | services.pipewire = { |
| 7 | enable = true; |
| 8 | alsa.enable = true; |
| 9 | alsa.support32Bit = true; |
| 10 | pulse.enable = true; |
Samuel Shuert | 80c2dd4 | 2023-12-01 22:03:34 -0500 | [diff] [blame^] | 11 | jack.enable = true; |
Samuel Shuert | f1d6e99 | 2023-11-24 17:28:33 -0500 | [diff] [blame] | 12 | }; |
| 13 | |
Samuel Shuert | 80c2dd4 | 2023-12-01 22:03:34 -0500 | [diff] [blame^] | 14 | environment.etc."pipewire/pipewire.conf.d/VirtualAudioDevice.conf".text = '' |
| 15 | context.objects = [ |
| 16 | { |
| 17 | factory = adapter |
| 18 | args = { |
| 19 | factory.name = support.null-audio-sink |
| 20 | node.name = Microphone-Proxy |
| 21 | node.description = Microphone |
| 22 | media.class = Audio/Source/Virtual |
| 23 | audio.posistion = MONO |
| 24 | } |
| 25 | } |
| 26 | ] |
| 27 | ''; |
| 28 | |
Samuel Shuert | f1d6e99 | 2023-11-24 17:28:33 -0500 | [diff] [blame] | 29 | home-manager.users.coded.home.packages = |
| 30 | with pkgs; [ |
Samuel Shuert | 80c2dd4 | 2023-12-01 22:03:34 -0500 | [diff] [blame^] | 31 | audacity |
Samuel Shuert | f1d6e99 | 2023-11-24 17:28:33 -0500 | [diff] [blame] | 32 | helvum |
| 33 | lmms |
| 34 | ]; |
| 35 | } |