mpv: change for nixpkgs changes

This commit is contained in:
Artemis Tosini 2024-06-15 11:30:01 +00:00
parent 8d4688777e
commit a43200d376
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -1,8 +1,10 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
let
ffmpeg = pkgs.ffmpeg-full;
scripts = with pkgs.mpvScripts; [ sponsorblock ];
mpv = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { inherit ffmpeg; }) { inherit scripts; };
mpv = pkgs.mpv-unwrapped.wrapper {
mpv = pkgs.mpv-unwrapped.override { inherit ffmpeg; };
scripts = with pkgs.mpvScripts; [ sponsorblock ];
};
in
{
home.packages = [ ffmpeg ];