This repository has no description
0

Configure Feed

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

tools.yt-x: add wrapper with custom mpv

Uses forked yt-x with support for full path extensions (-x flag).
Passes our custom mpv (with quality-menu, sponsorblock, etc.) via
extension file in nix store.

PR upstream: https://github.com/Benexl/yt-x/pull/130

+19
+19
tools/yt-x/flake-module.nix
··· 1 + { self, ... }: 2 + { 3 + perSystem = 4 + { pkgs, system, ... }: 5 + let 6 + mpv = self.packages.${system}.mpv; 7 + extension = pkgs.writeText "custom-mpv" '' 8 + MPV_CMD="${mpv}/bin/mpv" 9 + ''; 10 + in 11 + { 12 + packages.yt-x = pkgs.writeShellScriptBin "yt-x" '' 13 + exec nix run \ 14 + --override-input nixpkgs path:${self.inputs.nixpkgs} \ 15 + github:Lassulus/yt-x/allow-full-path-extensions -- \ 16 + -x ${extension} "$@" 17 + ''; 18 + }; 19 + }