This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / iptv / flake-module.nix
629 B 22 lines
1{ ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 { 6 # Listen to TV channels from the iptv-org playlist, audio only, on this 7 # machine's default output. mpv's keys switch channels (< and >). 8 packages.iptv = 9 (pkgs.writeShellApplication { 10 name = "iptv"; 11 runtimeInputs = [ pkgs.mpv ]; 12 text = '' 13 exec mpv \ 14 --no-video \ 15 --audio-display=no \ 16 --playlist=https://iptv-org.github.io/iptv/index.m3u \ 17 "$@" 18 ''; 19 }).overrideAttrs 20 { passthru.usage = builtins.readFile ./usage.kdl; }; 21 }; 22}