Migrate mpv override and options
This commit is contained in:
parent
2c8a79ac78
commit
28e190025c
|
@ -53,15 +53,15 @@ 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
|
||||
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue