diff --git a/home/mpv.nix b/home/mpv.nix index 2b5d30e..c2f0181 100644 --- a/home/mpv.nix +++ b/home/mpv.nix @@ -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 ];