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 let
ffmpeg = pkgs.ffmpeg-full; ffmpeg = pkgs.ffmpeg-full;
scripts = with pkgs.mpvScripts; [ sponsorblock ]; mpv = pkgs.mpv-unwrapped.wrapper {
mpv = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { inherit ffmpeg; }) { inherit scripts; }; mpv = pkgs.mpv-unwrapped.override { inherit ffmpeg; };
scripts = with pkgs.mpvScripts; [ sponsorblock ];
};
in in
{ {
home.packages = [ ffmpeg ]; home.packages = [ ffmpeg ];