summaryrefslogtreecommitdiffstats
path: root/lass/2configs/livestream.nix
blob: c877a8c0a95b1a51e657b80c442b14b6de9ab176 (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.python27Packages.livestreamer}/bin/livestreamer --http-header Client-ID=jzkbprff40iqj646a697cyrvl0zt2m6 -p mpv "$@"
  '';

in {
  environment.systemPackages = [ stream ];
}