diff --git a/users/simon/modules/mpv/default.nix b/users/simon/modules/mpv/default.nix index a52492a..c441cce 100644 --- a/users/simon/modules/mpv/default.nix +++ b/users/simon/modules/mpv/default.nix @@ -53,21 +53,21 @@ in # mpv can also be useful without a display (e.g. for encoding) enable = nixosConfig.sbruder.gui.enable || nixosConfig.sbruder.full; - package = pkgs.wrapMpv - (pkgs.mpv-unwrapped.override ({ + package = pkgs.mpv-unwrapped.wrapper { + mpv = pkgs.mpv-unwrapped.override { vapoursynthSupport = true; vapoursynth = pkgs.vapoursynth.withPlugins (with pkgs; [ vapoursynth-mvtools ]); ffmpeg = pkgs.ffmpeg-full; - })) - { - scripts = with pkgs.mpvScripts; [ - pitchcontrol - sponsorblock - ]; }; + scripts = with pkgs.mpvScripts; [ + pitchcontrol + sponsorblock + ]; + }; + defaultProfiles = [ "gpu-hq" # High quality by default ]; @@ -189,7 +189,7 @@ in "[showwaves][avectorscope]hstack=shortest=1[top]" "[top][showcqt]vstack=shortest=1,fps=${toString rate}[vo]" ]; - alpha = false; + background = "color"; }; in {