blob: 4046f2b772a60a5aa4452855b6ef7380cf50c034 [file] [log] [blame]
Samuel Shuert80c2dd42023-12-01 22:03:34 -05001{ config, pkgs, lib, inputs, ... }: {
Samuel Shuertf1d6e992023-11-24 17:28:33 -05002 sound.enable = true;
3 hardware.pulseaudio.enable = false;
4 security.rtkit.enable = true;
Samuel Shuert80c2dd42023-12-01 22:03:34 -05005
Samuel Shuertf1d6e992023-11-24 17:28:33 -05006 services.pipewire = {
7 enable = true;
8 alsa.enable = true;
9 alsa.support32Bit = true;
10 pulse.enable = true;
Samuel Shuert80c2dd42023-12-01 22:03:34 -050011 jack.enable = true;
Samuel Shuertf1d6e992023-11-24 17:28:33 -050012 };
13
Samuel Shuert80c2dd42023-12-01 22:03:34 -050014 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 Shuertf1d6e992023-11-24 17:28:33 -050029 home-manager.users.coded.home.packages =
30 with pkgs; [
Samuel Shuert80c2dd42023-12-01 22:03:34 -050031 audacity
Samuel Shuertf1d6e992023-11-24 17:28:33 -050032 helvum
33 lmms
34 ];
35}