stockholm/makefu/2configs/tools/studio.nix
2018-02-14 01:34:40 +01:00

18 lines
598 B
Nix

{ pkgs, ... }:
{
users.users.makefu.packages = with pkgs; [
obs-studio
studio-link
audacity
darkice
# owncloudclient
(pkgs.writeScriptBin "prepare-pulseaudio" ''
pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming"
pactl load-module module-loopback source=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor sink=stream
pactl load-module module-loopback source=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo sink=stream
darkice -c ~/lol.conf
'')
];
}