stockholm/makefu/2configs/tools/studio.nix

21 lines
699 B
Nix
Raw Normal View History

2017-09-01 08:42:43 +00:00
{ pkgs, ... }:
{
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.0.2u" # required for studio-link
];
2017-09-01 08:42:43 +00:00
users.users.makefu.packages = with pkgs; [
obs-studio
studio-link
audacity
2022-06-10 19:37:49 +00:00
#darkice
2017-11-28 21:49:25 +00:00
# owncloudclient
(pkgs.writeScriptBin "prepare-pulseaudio" ''
pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming"
2018-02-14 00:34:40 +00:00
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
2020-03-13 09:43:11 +00:00
darkice -c ./lol.conf
2017-11-28 21:49:25 +00:00
'')
2017-09-01 08:42:43 +00:00
];
}