nixos-config/config/apps/mpv.nix

12 lines
170 B
Nix

{ pkgs, ... }:
{
programs.mpv = {
enable = true;
scriptOpts = {
"ytdl_hook" = {
"ytdl_path" = "${pkgs.yt-dlp}/bin/yt-dlp";
};
};
};
}