mpv: Use yt-dlp
This commit is contained in:
parent
3750078491
commit
52391b1f9e
2 changed files with 14 additions and 1 deletions
|
@ -143,6 +143,20 @@
|
|||
source ${pkgs.fetchurl { url = "https://raw.githubusercontent.com/rupa/z/v1.11/z.sh"; sha256 = "f24e0791ba10f6a8301461da3fc50333eee2e009a19e5d0e9f3661f0d0446767"; }}
|
||||
'';
|
||||
};
|
||||
|
||||
mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
script-opts = "ytdl_hook-ytdl_path=${pkgs.yt-dlp}/bin/yt-dlp";
|
||||
};
|
||||
};
|
||||
|
||||
yt-dlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
sponsorblock-mark = "sponsor,selfpromo,intro,outro,poi_highlight";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
# Sound & Video
|
||||
easyeffects
|
||||
mpv
|
||||
spotify
|
||||
|
||||
# Gaming
|
||||
|
|
Loading…
Reference in a new issue