l 2: add livestream.nix
This commit is contained in:
parent
cf289c9aec
commit
dd30ebef45
@ -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
|
||||
|
12
lass/2configs/livestream.nix
Normal file
12
lass/2configs/livestream.nix
Normal 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 ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user