summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/tools/studio.nix
blob: 0998a695efab367365de9cd789f7f44ae5ec6c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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
    '')
  ];
}