blob: 13d483f62c2c53c9eba31f4bd6ebaee3e69de517 [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 =
Samuel Shuertd5748232024-02-10 16:20:55 -050030 [
31 pkgs.audacity
32 pkgs.helvum
33 pkgs.lmms
Samuel Shuertf1d6e992023-11-24 17:28:33 -050034 ];
35}