stockholm/makefu/2configs/tools/studio.nix
2020-04-22 09:31:38 +02:00

21 lines
698 B
Nix

{ pkgs, ... }:
{
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.0.2u" # required for studio-link
];
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
'')
];
}