Add mpv support [untested]
This commit is contained in:
parent
f3ba0c3ab8
commit
3fad5809b9
2 changed files with 22 additions and 7 deletions
14
programs/mpv/default.nix
Normal file
14
programs/mpv/default.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue