diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-12-14T17·50-0500 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-12-14T18·18+0000 |
commit | 4256c2aea99dc268b5632219164912f111318c98 (patch) | |
tree | ce941e37dcbdbe92958aef5a48ab13bef98287a4 /users | |
parent | 2123c1f570cd9c49311180e84b9d4abf243851a0 (diff) |
fix(gs/yeren): Split audio interface sources r/2005
Split the 6 channels of input I have from my audio interface into 2 separate channels for inputs 1 and 2, so that I can have only the one microphone feed into video chat apps. The way this is done right now is less than ideal as it doesn't support any sort of hotplugging - at some point, I should figure out the appropriate udev invocations to make that work. Change-Id: I53dc363173fa8db591b0e9cb08258d90835c1109 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2249 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users')
-rw-r--r-- | users/glittershark/system/system/machines/yeren.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/users/glittershark/system/system/machines/yeren.nix b/users/glittershark/system/system/machines/yeren.nix index c8d7aa2dbef8..590c09fbf5c5 100644 --- a/users/glittershark/system/system/machines/yeren.nix +++ b/users/glittershark/system/system/machines/yeren.nix @@ -85,4 +85,12 @@ lightdm.fprintAuth = true; lightdm-greeter.fprintAuth = true; }; + + hardware.opengl.driSupport32Bit = true; + + hardware.pulseaudio.extraConfig = '' + load-module module-remap-source source_name=KompleteAudio6_1 source_properties=device.description=KompleteAudio6Input1 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-left channel_map=mono + load-module module-remap-source source_name=KompleteAudio6_2 source_properties=device.description=KompleteAudio6Input2 master=alsa_input.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.multichannel-input remix=no channels=1 master_channel_map=front-right channel_map=mono + load-module module-remap-sink sink_name=KompleteAudio6_12 sink_properties=device.description=KompleteAudio6_12 remix=no master=alsa_output.usb-Native_Instruments_Komplete_Audio_6_458E0FFD-00.analog-surround-21 channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right + ''; } |