l 2: add livestream.nix

This commit is contained in:
lassulus 2017-03-04 19:49:39 +01:00
parent cf289c9aec
commit dd30ebef45
2 changed files with 13 additions and 1 deletions

View File

@ -9,6 +9,7 @@ in {
./screenlock.nix
./copyq.nix
./xresources.nix
./livestream.nix
{
hardware.pulseaudio = {
enable = true;
@ -42,7 +43,6 @@ in {
};
environment.systemPackages = with pkgs; [
acpi
dic
dmenu

View File

@ -0,0 +1,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 ];
}