Add mpv support [untested]

This commit is contained in:
langedev 2023-11-20 09:52:17 -08:00
parent f3ba0c3ab8
commit 3fad5809b9
2 changed files with 22 additions and 7 deletions

14
programs/mpv/default.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
programs.mpv.enable = true;
programs.mpv.config = {
volume-max = 150;
force-window = "yes";
script-opts = "ytdl_hook-ytdl_path=yt-dlp";
ytdl-format = "bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best";
};
home.packages = with pkgs; [
yt-dlp
];
}