summary refs log tree commit diff
path: root/nixos/modules/services/video
diff options
context:
space:
mode:
authormidchildan <git@midchildan.org>2020-10-04 20:38:11 +0900
committermidchildan <git@midchildan.org>2020-10-20 23:18:03 +0900
commit323b47d96e26963c0a3d7aa4724af88c02096e32 (patch)
treec511ff4bd126c54a1471161d1561b4a3f36ec33e /nixos/modules/services/video
parent038afc6906b71d3d4a8dc9fea271b68b01cffd5f (diff)
downloadnixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.tar
nixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.tar.gz
nixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.tar.bz2
nixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.tar.lz
nixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.tar.xz
nixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.tar.zst
nixpkgs-323b47d96e26963c0a3d7aa4724af88c02096e32.zip
epgstation: add updateScript
Diffstat (limited to 'nixos/modules/services/video')
-rwxr-xr-xnixos/modules/services/video/epgstation/generate31
1 files changed, 0 insertions, 31 deletions
diff --git a/nixos/modules/services/video/epgstation/generate b/nixos/modules/services/video/epgstation/generate
deleted file mode 100755
index 2940768b6d2..00000000000
--- a/nixos/modules/services/video/epgstation/generate
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env -S nix-build --no-out-link
-
-# Script to generate default streaming configurations for EPGStation. There's
-# no need to run this script directly since generate.sh in the EPGStation
-# package directory would run this script for you.
-#
-# Usage: ./generate | xargs cat > streaming.json
-
-{ pkgs ? (import ../../../../.. {}) }:
-
-let
-  sampleConfigPath = "${pkgs.epgstation.src}/config/config.sample.json";
-  sampleConfig = builtins.fromJSON (builtins.readFile sampleConfigPath);
-  streamingConfig = {
-    inherit (sampleConfig)
-      mpegTsStreaming
-      mpegTsViewer
-      liveHLS
-      liveMP4
-      liveWebM
-      recordedDownloader
-      recordedStreaming
-      recordedViewer
-      recordedHLS;
-  };
-in
-pkgs.runCommand "streaming.json" { nativeBuildInputs = [ pkgs.jq ]; } ''
-  jq . <<<'${builtins.toJSON streamingConfig}' > $out
-''
-
-# vim:set ft=nix: