summaryrefslogtreecommitdiffstats
path: root/lass/2configs/livestream.nix
blob: 25d54e26dafa959438e37642a16db6ad0e277193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, pkgs, ... }:
with import <stockholm/lib>;

let

  stream = pkgs.writeDashBin "stream" ''
    ${pkgs.python35Packages.livestreamer}/bin/livestreamer --http-header Client-ID=jzkbprff40iqj646a697cyrvl0zt2m6 -p mpv "$@"
  '';

in {
  environment.systemPackages = [ stream ];
}